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
Copy file name to clipboardExpand all lines: pkg/controller/controllerutil/controllerutil.go
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,8 @@ import (
26
26
)
27
27
28
28
// AlreadyOwnedError is an error returned if the object you are trying to assign
29
-
// an controller reference is already owned by another controller
30
-
// Object is the subject and Owner is the reference for the current owner
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
31
typeAlreadyOwnedErrorstruct {
32
32
Object v1.Object
33
33
Owner v1.OwnerReference
@@ -37,8 +37,7 @@ func (e *AlreadyOwnedError) Error() string {
37
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)
38
38
}
39
39
40
-
// NewAlreadyOwnedError creates a new AlreadyOwnedError
0 commit comments