BuildFinished : $b -> $build (perlcritic)

[?]
Aug 21, 2021, 1:51 AM
2VNGVIHSQRR4OYG6YUALZ3Y2BAG5WAIM6ZGIEA3BILZ4RI7SOZYAC

Dependencies

  • [2] T3OHZDYP hydra-notify: move BuildFinished processing to an Event
  • [3] EKHD4I44 Event: init structure and parse existing messages

Change contents

  • replacement in src/lib/Hydra/Event/BuildFinished.pm at line 56
    [2.1075][2.1075:1271]()
    foreach my $b ($self->{"build"}, @{$self->{"dependents"}}) {
    if ($b->finished && defined($b->notificationpendingsince)) {
    $b->update({ notificationpendingsince => undef })
    [2.1075]
    [2.1271]
    foreach my $build ($self->{"build"}, @{$self->{"dependents"}}) {
    if ($build->finished && defined($build->notificationpendingsince)) {
    $build->update({ notificationpendingsince => undef })