update with comments

This commit is contained in:
Alex Kim
2023-11-08 11:26:14 -08:00
parent b25aff718f
commit 3232a140b2
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ func CmdConnect(f cmdutil.Factory) *cobra.Command {
} else {
resp, err := cli.Connect(cmd.Context(), req)
if err != nil {
err = errors.Wrap(err, "Failed to connect")
err = errors.Wrap(err, "Failed to connect to cluster")
return err
}
for {

View File

@@ -87,7 +87,7 @@ Startup your kubernetes workloads in local Docker container with same volume、e
}
err = cmd.Flags().Parse(args[1:])
if err != nil {
err = errors.Wrap(err, "Failed to parse command flags")
err = errors.Wrapf(err, "Failed to parse command args: %v", args[:1])
return err
}
util.InitLogger(false)