Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
Fix standardFinalizers - add missing metav1.FinalizerDeleteDependents
Browse files Browse the repository at this point in the history
  • Loading branch information
tnozicka authored and Henrik Schmidt committed Jun 6, 2017
1 parent f9e4a6a commit 4205fd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/api/helper/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ func IsServiceIPRequested(service *api.Service) bool {
var standardFinalizers = sets.NewString(
string(api.FinalizerKubernetes),
metav1.FinalizerOrphanDependents,
metav1.FinalizerDeleteDependents,
)

// HasAnnotation returns a bool if passed in annotation exists
Expand Down
1 change: 1 addition & 0 deletions staging/src/k8s.io/client-go/pkg/api/helper/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ func IsServiceIPRequested(service *api.Service) bool {
var standardFinalizers = sets.NewString(
string(api.FinalizerKubernetes),
metav1.FinalizerOrphanDependents,
metav1.FinalizerDeleteDependents,
)

// HasAnnotation returns a bool if passed in annotation exists
Expand Down

0 comments on commit 4205fd7

Please sign in to comment.