Skip to content

Commit 662bba8

Browse files
pmoriekibbles-n-bytes
authored andcommitted
Log number of secret keys created for binding credential (openshift#1375)
1 parent 8ad6a31 commit 662bba8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: pkg/controller/controller_binding.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -825,8 +825,8 @@ func isPlanBindable(serviceClass *v1beta1.ClusterServiceClass, plan *v1beta1.Clu
825825

826826
func (c *controller) injectServiceBinding(binding *v1beta1.ServiceBinding, credentials map[string]interface{}) error {
827827
glog.V(5).Infof(
828-
`%s "%s/%s": Creating/updating Secret`,
829-
typez, binding.Namespace, binding.Spec.SecretName,
828+
`%s "%s/%s": Creating/updating Secret "%s/%s" with %d keys`,
829+
typez, binding.Namespace, binding.Name, binding.Namespace, binding.Spec.SecretName, len(credentials),
830830
)
831831

832832
secretData := make(map[string][]byte)

0 commit comments

Comments
 (0)