Skip to content

Commit

Permalink
Fix standardFinalizers - add missing metav1.FinalizerDeleteDependents
Browse files Browse the repository at this point in the history
  • Loading branch information
tnozicka committed May 31, 2017
1 parent 99eee15 commit 9ed01e4
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 9ed01e4

Please sign in to comment.