Remove UID from CLI output (#1361)

This commit is contained in:
Ta-Ching Chen
2019-10-28 19:34:02 +08:00
committed by GitHub
parent bc5c181fc2
commit 52b5cb0902
3 changed files with 11 additions and 12 deletions
+3 -3
View File
@@ -49,9 +49,9 @@ func (opts *GetSubCommand) do(flags cli.Input) error {
w := tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', 0)
fmt.Fprintf(w, "%v\t%v\t%v\n", "NAME", "UID", "IMAGE")
fmt.Fprintf(w, "%v\t%v\t%v\n",
env.Metadata.Name, env.Metadata.UID, env.Spec.Runtime.Image)
fmt.Fprintf(w, "%v\t%v\n", "NAME", "IMAGE")
fmt.Fprintf(w, "%v\t%v\n",
env.Metadata.Name, env.Spec.Runtime.Image)
w.Flush()
return nil