mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Cleanups in HorizontalPodAutoscaler API.
Cleanups in HorizontalPodAutoscaler API: renamed Min/MaxCount to Min/MaxReplicas as Replicas is the proper name used in other objects.
This commit is contained in:
@@ -1261,8 +1261,8 @@ func (d *HorizontalPodAutoscalerDescriber) Describe(namespace, name string) (str
|
||||
} else {
|
||||
fmt.Fprintf(out, "<not available>\n")
|
||||
}
|
||||
fmt.Fprintf(out, "Min pods:\t%d\n", hpa.Spec.MinCount)
|
||||
fmt.Fprintf(out, "Max pods:\t%d\n", hpa.Spec.MaxCount)
|
||||
fmt.Fprintf(out, "Min pods:\t%d\n", hpa.Spec.MinReplicas)
|
||||
fmt.Fprintf(out, "Max pods:\t%d\n", hpa.Spec.MaxReplicas)
|
||||
|
||||
// TODO: switch to scale subresource once the required code is submitted.
|
||||
if strings.ToLower(hpa.Spec.ScaleRef.Kind) == "replicationcontroller" {
|
||||
|
||||
Reference in New Issue
Block a user