Skip to content

Commit

Permalink
fix: 🐛 Fixes error message for doTransition to display the proper tra…
Browse files Browse the repository at this point in the history
…nsition state (prometheus-community#176)

Signed-off-by: Nathan Gotz <[email protected]>
  • Loading branch information
nlgotz authored and rufusnufus committed May 13, 2024
1 parent 49bd803 commit f34cea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/notify/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,6 @@ func (r *Receiver) doTransition(issueKey string, transitionState string) (bool,
return false, nil
}
}
return false, errors.Errorf("JIRA state %q does not exist or no transition possible for %s", r.conf.ReopenState, issueKey)
return false, errors.Errorf("JIRA state %q does not exist or no transition possible for %s", transitionState, issueKey)

}

0 comments on commit f34cea1

Please sign in to comment.