Github: Add data in output (and not only in perfdata)

This commit is contained in:
Bertrand Cournaud 2016-01-08 10:02:18 +01:00
parent 90ea330fc1
commit eeec9c8cf5
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ sub run {
my $stars = $webcontent->{watchers_count};
$self->{output}->output_add(severity => "OK",
short_msg => "");
short_msg => sprintf("%d forks\n%d watchers\n%d stars", $forks, $watchers, $stars));
$self->{output}->perfdata_add(label => 'forks',
value => $forks);