From b587b2c94baf06f7d4a0e4e6de71d09075a032c7 Mon Sep 17 00:00:00 2001 From: Paul Morie Date: Sat, 5 Aug 2017 02:28:03 -0400 Subject: [PATCH] Improve log output for deprovision --- pkg/controller/controller_binding.go | 2 +- pkg/controller/controller_broker.go | 2 +- pkg/controller/controller_instance.go | 4 ++-- pkg/controller/controller_serviceclass.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/controller/controller_binding.go b/pkg/controller/controller_binding.go index 96b4d4dac91..d5c9977231f 100644 --- a/pkg/controller/controller_binding.go +++ b/pkg/controller/controller_binding.go @@ -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) } diff --git a/pkg/controller/controller_broker.go b/pkg/controller/controller_broker.go index b6e4320c3b0..07a3a5ed6f1 100644 --- a/pkg/controller/controller_broker.go +++ b/pkg/controller/controller_broker.go @@ -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 diff --git a/pkg/controller/controller_instance.go b/pkg/controller/controller_instance.go index e30c9375bd2..86c2f92f3f8 100644 --- a/pkg/controller/controller_instance.go +++ b/pkg/controller/controller_instance.go @@ -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 @@ -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) } diff --git a/pkg/controller/controller_serviceclass.go b/pkg/controller/controller_serviceclass.go index 693ad8a0247..2fde1032d6d 100644 --- a/pkg/controller/controller_serviceclass.go +++ b/pkg/controller/controller_serviceclass.go @@ -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) }