You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// AlreadyOwnedError is an error returned if the object you are trying to assign
29
+
// a controller reference is already owned by another controller Object is the
30
+
// subject and Owner is the reference for the current owner
31
+
typeAlreadyOwnedErrorstruct {
32
+
Object v1.Object
33
+
Owner v1.OwnerReference
34
+
}
35
+
36
+
func (e*AlreadyOwnedError) Error() string {
37
+
returnfmt.Sprintf("Object %s/%s is already owned by another %s controller %s", e.Object.GetNamespace(), e.Object.GetName(), e.Owner.Kind, e.Owner.Name)
0 commit comments