diff options
Diffstat (limited to 'lib/MGA')
-rw-r--r-- | lib/MGA/Advisories.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm index a3e02ff..9b29342 100644 --- a/lib/MGA/Advisories.pm +++ b/lib/MGA/Advisories.pm @@ -354,7 +354,7 @@ sub assign_id { print STDERR "Error: Cross check failed.\n"; if ($found_keyword) { ReadMode 4; # Turn off controls keys - print "Post failure message to Bugzilla and reset 'validated_update' keyword (requires login)? [y/N]: "; + print "Post failure message to Bugzilla and reset 'advisory' keyword (requires login)? [y/N]: "; my $key = 'x'; while ( $key ne "\n" && $key ne "y" && $key ne "Y" && $key ne "n" && $key ne "N" ) { $key = ReadKey(0); @@ -365,7 +365,7 @@ sub assign_id { } else { print " ✔\n"; - if (call_bz('Bug.update', { ids => [$bugnum], comment => { body => "Update ID assignment failed\n\n$buffer\n\n'validated_update' keyword reset." }, keywords => { set => grep { $_ ne 'validated_update' } @{$bug->{keywords}} } })) { + if (call_bz('Bug.update', { ids => [$bugnum], comment => { body => "Update ID assignment failed\n\n$buffer\n\n'advisory' keyword reset." }, keywords => { set => grep { $_ ne 'advisory' } @{$bug->{keywords}} } })) { print "Successfully posted to Bugzilla\n"; } else { print "Failed to post to Bugzilla\n"; |