Skip to content

Commit

Permalink
Fix the regression introduced by PR#19968
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyeyes committed Aug 16, 2024
1 parent 0aed2ac commit aa26368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hacluster.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ kernel.
sub is_not_maintenance_update {
my $package = shift;
# Allow to skip an openQA module if package is not targeted by maintenance update
if (get_var('MAINTENANCE')) {
if (get_var('MAINTENANCE') && get_var('INCIDENT_ID')) {
# If package is listed in BUILD, no need to check for more
return 0 if (get_var('BUILD') =~ /$package|kernel/);
# Package name is not in BUILD setting, but it can still be targeted by the
Expand Down

0 comments on commit aa26368

Please sign in to comment.