Skip to content

Commit

Permalink
Merge pull request kubernetes#23089 from saad-ali/addZoneToErr
Browse files Browse the repository at this point in the history
Auto commit by PR queue bot
  • Loading branch information
k8s-merge-robot committed Mar 17, 2016
2 parents 929c1a2 + 26e3d7a commit ad7a0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/gce/gce.go
Original file line number Diff line number Diff line change
Expand Up @@ -2185,7 +2185,7 @@ func (gce *GCECloud) findDiskByName(diskName string, zone string) (*gceDisk, err
func (gce *GCECloud) getDiskByName(diskName string, zone string) (*gceDisk, error) {
disk, err := gce.findDiskByName(diskName, zone)
if disk == nil && err == nil {
return nil, fmt.Errorf("GCE persistent disk not found: %q", diskName)
return nil, fmt.Errorf("GCE persistent disk not found: diskName=%q zone=%q", diskName, zone)
}
return disk, err
}
Expand Down

0 comments on commit ad7a0da

Please sign in to comment.