Update plugin.go

Kubernetes-commit: 3c1c53c06c7b95283a84b28d3566e74c201e0e21
This commit is contained in:
Heng WU 2021-02-14 11:10:20 +08:00 committed by Kubernetes Publisher
parent e3d204f432
commit 58dd520868
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ func (o *PluginListOptions) Run() error {
files, err := ioutil.ReadDir(dir)
if err != nil {
if _, ok := err.(*os.PathError); ok {
fmt.Fprintf(o.ErrOut, "Unable read directory %q from your PATH: %v. Skipping...\n", dir, err)
fmt.Fprintf(o.ErrOut, "Unable to read directory %q from your PATH: %v. Skipping...\n", dir, err)
continue
}