mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Removed unneeded newline (moved to end of directory not found message)
This commit is contained in:
parent
f60c0af977
commit
48ee18b516
@ -169,7 +169,6 @@ func (o *PluginListOptions) Run() error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if len(pluginErrors) > 0 {
|
if len(pluginErrors) > 0 {
|
||||||
fmt.Fprintln(o.ErrOut)
|
|
||||||
errs := bytes.NewBuffer(nil)
|
errs := bytes.NewBuffer(nil)
|
||||||
for _, e := range pluginErrors {
|
for _, e := range pluginErrors {
|
||||||
fmt.Fprintln(errs, e)
|
fmt.Fprintln(errs, e)
|
||||||
|
@ -108,7 +108,6 @@ func TestPluginPathsAreValid(t *testing.T) {
|
|||||||
return ioutil.TempFile(tempDir, "notkubectl-")
|
return ioutil.TempFile(tempDir, "notkubectl-")
|
||||||
},
|
},
|
||||||
expectErr: "unable to find any kubectl plugins in your PATH",
|
expectErr: "unable to find any kubectl plugins in your PATH",
|
||||||
expectErrOut: "\n",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "ensure de-duplicated plugin-paths slice",
|
name: "ensure de-duplicated plugin-paths slice",
|
||||||
|
Loading…
Reference in New Issue
Block a user