mirror of https://github.com/k3s-io/k3s
Merge pull request #35112 from errordeveloper/fix-35105
Automatic merge from submit-queue Get rid of output line that break automated usage of `kubectl set image` **What this PR does / why we need it**: **Which issue this PR fixes**: fixes #35105 **Special notes for your reviewer**: We could consider printing it to stderr, or using `IsTerminal()`, but I went for the simplest thing first. **Release note**: ```release-note Make `kubectl set image` easier to script ```pull/6/head
commit
be1996ee64
|
@ -199,7 +199,6 @@ func (o *ImageOptions) Run() error {
|
|||
}
|
||||
|
||||
if o.Local {
|
||||
fmt.Fprintln(o.Out, "running in local mode...")
|
||||
return o.PrintObject(o.Cmd, o.Mapper, info.Object, o.Out)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue