Skip to content

Commit

Permalink
Improve log output for deprovision
Browse files Browse the repository at this point in the history
  • Loading branch information
pmorie committed Aug 8, 2017
1 parent 8887561 commit b587b2c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/controller_binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -567,5 +567,5 @@ func (c *controller) bindingDelete(obj interface{}) {
return
}

glog.V(4).Infof("Received delete event for Binding %v/%v", binding.Namespace, binding.Name)
glog.V(4).Infof("Received delete event for Binding %v/%v; no further processing will occur", binding.Namespace, binding.Name)
}
2 changes: 1 addition & 1 deletion pkg/controller/controller_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (c *controller) brokerDelete(obj interface{}) {
return
}

glog.V(4).Infof("Received delete event for Broker %v", broker.Name)
glog.V(4).Infof("Received delete event for Broker %v; no further processing will occur", broker.Name)
}

// the Message strings have a terminating period and space so they can
Expand Down
4 changes: 2 additions & 2 deletions pkg/controller/controller_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func (c *controller) reconcileInstanceDelete(instance *v1alpha1.Instance) error
}

if response.Async {
glog.V(5).Infof("Received asynchronous de-provisioning response for Instance %v/%v of ServiceClass %v at Broker %v: response: %v", instance.Namespace, instance.Name, serviceClass.Name, brokerName, response)
glog.V(5).Infof("Received asynchronous de-provisioning response for Instance %v/%v of ServiceClass %v at Broker %v: response: %+v", instance.Namespace, instance.Name, serviceClass.Name, brokerName, response)
if response.OperationKey != nil && *response.OperationKey != "" {
key := string(*response.OperationKey)
toUpdate.Status.LastOperation = &key
Expand Down Expand Up @@ -885,5 +885,5 @@ func (c *controller) instanceDelete(obj interface{}) {
return
}

glog.V(4).Infof("Received delete event for Instance %v/%v", instance.Namespace, instance.Name)
glog.V(4).Infof("Received delete event for Instance %v/%v; no further processing will occur", instance.Namespace, instance.Name)
}
2 changes: 1 addition & 1 deletion pkg/controller/controller_serviceclass.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ func (c *controller) serviceClassDelete(obj interface{}) {
return
}

glog.V(4).Infof("Received delete event for ServiceClass %v", serviceClass.Name)
glog.V(4).Infof("Received delete event for ServiceClass %v; no further processing will occur", serviceClass.Name)
}

0 comments on commit b587b2c

Please sign in to comment.