Skip to content

Commit

Permalink
Update controllers/controller_ref_manager.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Amshuman K R <amshuman.rao.karaya@sap.com>
  • Loading branch information
George Kuruvilla and Amshuman K R authored Apr 28, 2020
1 parent 0b89b54 commit d07660e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/controller_ref_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (m *BaseControllerRefManager) claimObject(obj metav1.Object, match func(met
if match(obj) {
// We already own it and the selector matches.
// However, the ownerReference must be set to adopting the statefulset.
// needed to inject the annotations and remove the ownerReference.
// need to inject the annotations and remove the ownerReference.
// Return true (successfully claimed) before checking deletion timestamp.
if err := adopt(obj); err != nil {
// If the object no longer exists, ignore the error.
Expand Down

0 comments on commit d07660e

Please sign in to comment.