Skip to content

Commit

Permalink
remove unused status (#143)
Browse files Browse the repository at this point in the history
* template cha

* Update show_summon.tpl
  • Loading branch information
ajinkyak423 authored Jan 25, 2024
1 parent 000838c commit 541faf9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/cmd/templates/show_summon.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ DESIRED VERSIONS:
TripShare: {{.spec.tripShare.version}}{{end}}

CURRENT VERSIONS:
Summon: {{.status.notification.notifyVersion}}
{{range $key, $val := .status.notification}}{{if ne $key "notifyVersion"}}{{$key}}: {{$val}}{{"\n "}}{{end}}{{end}}
{{range $key, $val := .status.notification}}{{if and (ne $key "slack") (ne $key "newRelic")}}{{$key}}: {{$val}}{{"\n "}}{{end}}{{end}}
Slack:
{{range $key, $val := .status.notification.slack}}{{$key}}: {{$val}}{{"\n "}}{{end}}

0 comments on commit 541faf9

Please sign in to comment.