Skip to content

Commit d6eba1d

Browse files
authored
Merge pull request kubernetes#83749 from yutedz/limit-range-res
Improve 'No resource limits' message
2 parents 1e5a9f3 + 3553de3 commit d6eba1d

File tree

1 file changed

+1
-1
lines changed
  • staging/src/k8s.io/kubectl/pkg/describe/versioned

1 file changed

+1
-1
lines changed

staging/src/k8s.io/kubectl/pkg/describe/versioned/describe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ func describeLimitRangeSpec(spec corev1.LimitRangeSpec, prefix string, w PrefixW
474474
// DescribeLimitRanges merges a set of limit range items into a single tabular description
475475
func DescribeLimitRanges(limitRanges *corev1.LimitRangeList, w PrefixWriter) {
476476
if len(limitRanges.Items) == 0 {
477-
w.Write(LEVEL_0, "No resource limits.\n")
477+
w.Write(LEVEL_0, "No LimitRange resource.\n")
478478
return
479479
}
480480
w.Write(LEVEL_0, "Resource Limits\n Type\tResource\tMin\tMax\tDefault Request\tDefault Limit\tMax Limit/Request Ratio\n")

0 commit comments

Comments
 (0)