Skip to content

Commit 48ee18b

Browse files
committed
Removed unneeded newline (moved to end of directory not found message)
1 parent f60c0af commit 48ee18b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ func (o *PluginListOptions) Run() error {
169169
}
170170
}
171171
if len(pluginErrors) > 0 {
172-
fmt.Fprintln(o.ErrOut)
173172
errs := bytes.NewBuffer(nil)
174173
for _, e := range pluginErrors {
175174
fmt.Fprintln(errs, e)

staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ func TestPluginPathsAreValid(t *testing.T) {
108108
return ioutil.TempFile(tempDir, "notkubectl-")
109109
},
110110
expectErr: "unable to find any kubectl plugins in your PATH",
111-
expectErrOut: "\n",
112111
},
113112
{
114113
name: "ensure de-duplicated plugin-paths slice",

0 commit comments

Comments
 (0)