Skip to content

Commit a52d0ee

Browse files
author
Phillip Wittrock
authored
Merge pull request #26 from natronq/master
Add string method for ReconcileKey
2 parents b800b61 + 5a14cc3 commit a52d0ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/controller/types/types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ type ReconcileKey struct {
3535
// Name is the name of the object.
3636
Name string
3737
}
38+
39+
func (r ReconcileKey) String() string {
40+
return r.Namespace + "/" + r.Name
41+
}

0 commit comments

Comments
 (0)