Skip to content

Commit 5a14cc3

Browse files
committed
Add string method for ReconcileKey
1 parent 9bb1868 commit 5a14cc3

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)