Skip to content

Commit bb4a2d2

Browse files
committed
Merge branch 'pr/1097'
LGTM from: pmorie MHBauer
2 parents 1c14a90 + 1f0a41e commit bb4a2d2

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

pkg/controller/controller_binding.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,6 @@ func (c *controller) reconcileBinding(binding *v1alpha1.Binding) error {
288288
// All updates not having a DeletingTimestamp will have been handled above
289289
// and returned early. If we reach this point, we're dealing with an update
290290
// that's actually a soft delete-- i.e. we have some finalization to do.
291-
// Since the potential exists for a binding to have multiple finalizers and
292-
// since those most be cleared in order, we proceed with the soft delete
293-
// only if it's "our turn--" i.e. only if the finalizer we care about is at
294-
// the head of the finalizers list.
295291
if finalizers := sets.NewString(binding.Finalizers...); finalizers.Has(v1alpha1.FinalizerServiceCatalog) {
296292
glog.V(4).Infof("Finalizing Binding %v/%v", binding.Namespace, binding.Name)
297293
err = c.ejectBinding(binding)

pkg/controller/controller_broker.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,6 @@ func (c *controller) reconcileBroker(broker *v1alpha1.Broker) error {
267267
// All updates not having a DeletingTimestamp will have been handled above
268268
// and returned early. If we reach this point, we're dealing with an update
269269
// that's actually a soft delete-- i.e. we have some finalization to do.
270-
// Since the potential exists for a broker to have multiple finalizers and
271-
// since those most be cleared in order, we proceed with the soft delete
272-
// only if it's "our turn--" i.e. only if the finalizer we care about is at
273-
// the head of the finalizers list.
274270
if finalizers := sets.NewString(broker.Finalizers...); finalizers.Has(v1alpha1.FinalizerServiceCatalog) {
275271
glog.V(4).Infof("Finalizing Broker %v", broker.Name)
276272

pkg/controller/controller_instance.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,6 @@ func (c *controller) reconcileInstanceDelete(instance *v1alpha1.Instance) error
149149
// All updates not having a DeletingTimestamp will have been handled above
150150
// and returned early. If we reach this point, we're dealing with an update
151151
// that's actually a soft delete-- i.e. we have some finalization to do.
152-
// Since the potential exists for an instance to have multiple finalizers and
153-
// since those most be cleared in order, we proceed with the soft delete
154-
// only if it's "our turn--" i.e. only if the finalizer we care about is at
155-
// the head of the finalizers list.
156152
serviceClass, servicePlan, brokerName, brokerClient, err := c.getServiceClassPlanAndBroker(instance)
157153
if err != nil {
158154
return err

0 commit comments

Comments
 (0)