You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// LEGACY(mjudeikis): Remove once everybody gets used to this
132
132
name=":"+name
133
133
fmt.Fprintf(o.ErrOut, "Note: Using 'root:' to define an absolute path is no longer supported. Instead, use ':root' to specify an absolute path.\n")
134
134
}
135
135
ifname=="" {
136
-
deferfunc() {
137
-
iferr==nil {
138
-
_, err=fmt.Fprintf(o.ErrOut, "Note: 'kubectl ws' now matches 'cd' semantics: go to home workspace. 'kubectl ws -' to go back. 'kubectl ws .' to print current workspace.\n")
139
-
}
140
-
}()
136
+
if!o.ShortWorkspaceOutput {
137
+
deferfunc() {
138
+
iferr==nil {
139
+
_, err=fmt.Fprintf(o.ErrOut, "Note: 'kubectl ws' now matches 'cd' semantics: go to home workspace. 'kubectl ws -' to go back. 'kubectl ws .' to print current workspace.\n")
0 commit comments