Skip to content

Commit

Permalink
Add string method for ReconcileKey
Browse files Browse the repository at this point in the history
  • Loading branch information
natronq committed Mar 23, 2018
1 parent 9bb1868 commit 5a14cc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/controller/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ type ReconcileKey struct {
// Name is the name of the object.
Name string
}

func (r ReconcileKey) String() string {
return r.Namespace + "/" + r.Name
}

0 comments on commit 5a14cc3

Please sign in to comment.