From 2c2dba67fd5e279a0a182d7f2bca68f01a30ed27 Mon Sep 17 00:00:00 2001 From: tianshapjq Date: Wed, 4 Jan 2017 09:12:24 +0800 Subject: [PATCH] modify the specifications --- pkg/kubectl/cmd/top.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubectl/cmd/top.go b/pkg/kubectl/cmd/top.go index e24afe6a86..2c54cab398 100644 --- a/pkg/kubectl/cmd/top.go +++ b/pkg/kubectl/cmd/top.go @@ -34,13 +34,13 @@ var ( The top command allows you to see the resource consumption for nodes or pods. - This command is available only if the Heapster works fine on the server. `) + This command requires Heapster to be correctly configured and working on the server. `) ) func NewCmdTop(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command { cmd := &cobra.Command{ Use: "top", - Short: "Display Resource (CPU/Memory/Storage) usage, available only if Heapster works fine on the server.", + Short: "Display Resource (CPU/Memory/Storage) usage.", Long: topLong, Run: cmdutil.DefaultSubCommandRun(errOut), }