From f243663519c81a7c163c1e9fde9ef8f43bf166e8 Mon Sep 17 00:00:00 2001 From: WanLinghao Date: Thu, 21 Jun 2018 15:31:19 +0800 Subject: [PATCH] fix a log param error --- pkg/kubectl/cmd/get/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubectl/cmd/get/get.go b/pkg/kubectl/cmd/get/get.go index 8c4738d02c4..b715903231d 100644 --- a/pkg/kubectl/cmd/get/get.go +++ b/pkg/kubectl/cmd/get/get.go @@ -591,7 +591,7 @@ func (o *GetOptions) watch(f cmdutil.Factory, cmd *cobra.Command, args []string) func attemptToConvertToInternal(obj runtime.Object, converter runtime.ObjectConvertor, targetVersion schema.GroupVersion) runtime.Object { internalObject, err := converter.ConvertToVersion(obj, targetVersion) if err != nil { - glog.V(1).Infof("Unable to convert %T to %v: err", obj, targetVersion, err) + glog.V(1).Infof("Unable to convert %T to %v: %v", obj, targetVersion, err) return obj } return internalObject