Skip to content

Commit 66fe987

Browse files
committed
fix(show): fix show message
fix show message Signed-off-by: ysicing <[email protected]>
1 parent 78c6110 commit 66fe987

File tree

5 files changed

+7
-189
lines changed

5 files changed

+7
-189
lines changed

cmd/app/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func NewCmdAppInstall(f factory.Factory) *cobra.Command {
122122
log.Debugf("authUsername: %s, authPassword: %s", authUsername, authPassword)
123123
log.Infof("app meta:\n\t username: %s\n\t password: %s\n\t url: %s", color.SBlue(authUsername), color.SBlue(authPassword), color.SBlue(host))
124124
} else {
125-
log.Infof("app meta:\n\turl: %s", color.SBlue(host))
125+
log.Infof("app meta:\n\t url: %s", color.SBlue(host))
126126
}
127127
return nil
128128
},

cmd/upgrade/q.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ func NewUpgradeQ(f factory.Factory) *cobra.Command {
3131
log: f.GetLog(),
3232
}
3333
upq := &cobra.Command{
34-
Use: "q",
35-
Aliases: []string{"qcadmin"},
36-
Short: "upgrade qcadmin(q) to the newest version",
34+
Use: "cli",
35+
Aliases: []string{"qcadmin", "z", "q"},
36+
Short: "upgrade cli to the newest version",
3737
Args: cobra.NoArgs,
3838
Run: func(cmd *cobra.Command, args []string) {
3939
up.DoQcadmin()

hack/manifests/scripts/cleanall.sh

Lines changed: 0 additions & 184 deletions
This file was deleted.

hack/manifests/storage/nfs-server.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ echo "$SPATH *(insecure,rw,sync,no_root_squash,no_subtree_check)" > /etc/exports
2727
exportfs -r
2828

2929
showmount -e 127.0.0.1
30+
31+
touch $SPATH/.quickon

pkg/quickon/quickon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ func (m *Meta) readyQuickON(ctx context.Context) error {
447447
for {
448448
t2 := ztime.NowUnix() - t1
449449
if t2 > 180 {
450-
m.Log.Warnf("waiting for ready 3min timeout: check your network or storage. after install you can run: q status")
450+
m.Log.Warnf("waiting for ready 3min timeout: check your network or storage. after install you can run: %s status", os.Args[0])
451451
break
452452
}
453453
_, err := client.R().Get(fmt.Sprintf("http://%s:32379", exnet.LocalIPs()[0]))

0 commit comments

Comments
 (0)