Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
Removed re-defining 'reason' and 'status' for the Secret case (alread…
Browse files Browse the repository at this point in the history
…y set)
  • Loading branch information
Nick Badger authored and Nick Badger committed May 19, 2018
1 parent 5d1b46c commit ac404a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/event/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ func New(obj interface{}, action string) Event {
component = string(object.Spec.Type)
case *api_v1.Secret:
kind = "secret"
reason = action
status = m[action]
case Event:
name = object.Name
kind = object.Kind
Expand Down

0 comments on commit ac404a2

Please sign in to comment.