From 6e65c3b3206b0f2c8d15b9f75905718849b89483 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 16 Aug 2021 16:05:08 -0400 Subject: [PATCH] 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... --- src/script/hydra-notify | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/hydra-notify b/src/script/hydra-notify index a8f48252..181fba36 100755 --- a/src/script/hydra-notify +++ b/src/script/hydra-notify @@ -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);