Subject: | helios_service_status: Use of uninitialized value in print at helios_service_status line 83. |
Create a Helios service without specifying a version, as below:
SomeService.pm:
use 5.014;
use warnings;
package SomeService {
use parent 'Helios::Service';
sub run {
my $self = shift;
my $job = shift;
my $config = $self->getConfig();
my $args = $self->getJobArgs($job);
$self->completedJob($job);
}
}
1;
__END__
Save it and start it using helios.pl:
$ helios.pl SomeService
Then run the helios_service_status command:
$ helios_service_status
Service: SomeService
Use of uninitialized value in print at helios_service_status line 83.
Version:
Host: ubuntu-precise64-1
PID: 9122
Online Since: Fri Mar 21 00:41:27 2014
Last Registered: Fri Mar 21 00:41:27 2014
Not terribly production-stopping, but ugly all the same. Services that specify versions are unaffected, of course.