Merge pull request #7382 from ethan-daocloud/patch-2

protokube/gce_volume.go: error info correction
This commit is contained in:
Kubernetes Prow Robot 2019-08-06 12:42:47 -07:00 committed by GitHub
commit 8568c6461e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ func (v *GCEVolumes) buildGCEVolume(d *compute.Disk) (*Volume, error) {
for _, attachedTo := range d.Users {
u, err := gce.ParseGoogleCloudURL(attachedTo)
if err != nil {
return nil, fmt.Errorf("error parsing disk attachmnet url %q: %v", attachedTo, err)
return nil, fmt.Errorf("error parsing disk attachment url %q: %v", attachedTo, err)
}
vol.AttachedTo = u.Name