Skip to content

Commit

Permalink
Merge pull request spinnaker#429 in SPKR/keel-nflx from sihang-fix-em…
Browse files Browse the repository at this point in the history
…oji to master (spinnaker#1978)

Squashed commit of the following:

commit 4a7812c6e96da89bd9c8f342e1aad9a9a7af65c4
Author: Sihang Yu <[email protected]>
Date:   Thu Jul 22 10:33:27 2021 -0700

    fix(notification): Use the correct emoji for pluginNotification PASS/FAIL

(cherry picked from commit 2fa25613d1b8596c3adc255fa9ac89af47a48159)

Co-authored-by: Sihang Yu <[email protected]>
  • Loading branch information
2 people authored and osoriano committed Sep 2, 2023
1 parent 20f8f4b commit 2d84a0b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class PluginNotificationHandler(
log.debug("Sending plugin notification for application ${notification.application} and environment ${notification.targetEnvironment}")

val emoji = when(config.status) {
FAILED -> ":gear:"
SUCCEEDED -> ":x: :gear:"
FAILED -> ":x: :gear:"
SUCCEEDED -> ":white_check_mark: :gear:"
}

val blocks = withBlocks {
Expand Down

0 comments on commit 2d84a0b

Please sign in to comment.