Skip to content

Commit 3b344d5

Browse files
committed
Use base exit when running successfully
- Plugin does not need to be verbose in the OK path
1 parent 49a474d commit 3b344d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func sendNotification(_ *cobra.Command, _ []string) {
172172
check.ExitError(notificationErr)
173173
}
174174

175-
check.ExitRaw(check.OK, "")
175+
check.BaseExit(0)
176176
}
177177

178178
// handleProblemNotification opens a new ticket if none exists,

0 commit comments

Comments
 (0)