Removed unneeded newline (moved to end of directory not found message)

Kubernetes-commit: 48ee18b516b267ba062a1dd00a21e7ae10ecd805
This commit is contained in:
Brian Pursley 2020-01-28 20:51:24 -05:00 committed by Kubernetes Publisher
parent 346cf3d4f4
commit b69c2a4389
2 changed files with 0 additions and 2 deletions

View File

@ -169,7 +169,6 @@ func (o *PluginListOptions) Run() error {
}
}
if len(pluginErrors) > 0 {
fmt.Fprintln(o.ErrOut)
errs := bytes.NewBuffer(nil)
for _, e := range pluginErrors {
fmt.Fprintln(errs, e)

View File

@ -108,7 +108,6 @@ func TestPluginPathsAreValid(t *testing.T) {
return ioutil.TempFile(tempDir, "notkubectl-")
},
expectErr: "unable to find any kubectl plugins in your PATH",
expectErrOut: "\n",
},
{
name: "ensure de-duplicated plugin-paths slice",