From d174353ec900e49cdebc9fc3de8e99dcd550f0ed Mon Sep 17 00:00:00 2001 From: Marcin Wielgus Date: Fri, 26 Feb 2016 12:04:19 +0100 Subject: [PATCH] Print annotations in HPA describe` --- pkg/kubectl/describe.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/kubectl/describe.go b/pkg/kubectl/describe.go index 07462a55b3..aa807f6d8f 100644 --- a/pkg/kubectl/describe.go +++ b/pkg/kubectl/describe.go @@ -1556,6 +1556,7 @@ func (d *HorizontalPodAutoscalerDescriber) Describe(namespace, name string) (str fmt.Fprintf(out, "Name:\t%s\n", hpa.Name) fmt.Fprintf(out, "Namespace:\t%s\n", hpa.Namespace) fmt.Fprintf(out, "Labels:\t%s\n", labels.FormatLabels(hpa.Labels)) + fmt.Fprintf(out, "Annotations:\t%s\n", labels.FormatLabels(hpa.Annotations)) fmt.Fprintf(out, "CreationTimestamp:\t%s\n", hpa.CreationTimestamp.Time.Format(time.RFC1123Z)) fmt.Fprintf(out, "Reference:\t%s/%s/%s\n", hpa.Spec.ScaleRef.Kind,