mirror of https://github.com/kubernetes/kops.git
GCS: Don't reuse same error message
We had exactly the same error message for two code paths, which made figuring out the cause harder.
This commit is contained in:
parent
0224883aba
commit
d257e73b1c
|
@ -213,7 +213,7 @@ func (p *GSPath) ReadTree() ([]Path, error) {
|
|||
if isGCSNotFound(err) {
|
||||
return nil, os.ErrNotExist
|
||||
}
|
||||
return nil, fmt.Errorf("error listing %s: %v", p, err)
|
||||
return nil, fmt.Errorf("error listing tree %s: %v", p, err)
|
||||
}
|
||||
return paths, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue