hydra-notify: fixup printing of build IDs

Used to print:

    sending notifications for build Hydra::Model::DB::Builds=HASH(0x124cf960)->id...

Now it prints:

    sending notifications for build 123...
This commit is contained in:
Your Name 2021-08-16 16:05:08 -04:00
parent 2c50227082
commit 6e65c3b320

View file

@ -50,7 +50,7 @@ sub runPluginsForEvent {
for my $build ($db->resultset('Builds')->search(
{ notificationpendingsince => { '!=', undef } }))
{
print STDERR "sending notifications for build $build->id...\n";
print STDERR "sending notifications for build ${\$build->id}...\n";
my $event = Hydra::Event::BuildFinished->new($build->id);