Merge pull request #12868 from mikedanese/fix-tag

tab => space in struct tag, to fix compatibility with reflect.StructTag.Get
This commit is contained in:
Robert Bailey 2015-08-18 11:48:17 -07:00
commit f93027031c

View File

@ -80,7 +80,7 @@ type HorizontalPodAutoscalerSpec struct {
MaxCount int `json:"maxCount" description:"upper limit for the number of pods"` MaxCount int `json:"maxCount" description:"upper limit for the number of pods"`
// Target is the target average consumption of the given resource that the autoscaler will try to maintain by adjusting the desired number of pods. // Target is the target average consumption of the given resource that the autoscaler will try to maintain by adjusting the desired number of pods.
// Currently two types of resources are supported: "cpu" and "memory". // Currently two types of resources are supported: "cpu" and "memory".
Target ResourceConsumption `json:"target" description:"target average consumption of resource that the autoscaler will try to maintain by adjusting the desired number of pods"` Target ResourceConsumption `json:"target" description:"target average consumption of resource that the autoscaler will try to maintain by adjusting the desired number of pods"`
} }
// HorizontalPodAutoscalerStatus contains the current status of a horizontal pod autoscaler // HorizontalPodAutoscalerStatus contains the current status of a horizontal pod autoscaler