Skip to content

Commit

Permalink
Fix status updating before resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
StreatCodes committed Apr 7, 2017
1 parent 97e5094 commit b99efe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notify_rt.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ def delete_comments_icinga(username, password, comments):
elif ARGS.state == "OK" or ARGS.state == "UP":
print("Server/host back up")
add_comment_rt(TICKET_ID)
set_status_rt(TICKET_ID)
set_subject_recovered_rt(TICKET_ID)
set_status_rt(TICKET_ID)
delete_comments_icinga(
CONFIG['icinga_user'],
CONFIG['icinga_pass'],
Expand Down

0 comments on commit b99efe1

Please sign in to comment.