Skip to content

Commit

Permalink
Merge pull request #26 from natronq/master
Browse files Browse the repository at this point in the history
Add string method for ReconcileKey
  • Loading branch information
Phillip Wittrock committed Mar 29, 2018
2 parents b800b61 + 5a14cc3 commit a52d0ee
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 a52d0ee

Please sign in to comment.