Merge pull request #27793 from justinsb/fix_27774
Automatic merge from submit-queue AWS: Add missing error check for #27774 There was an error check missing, which seems likely to have caused 27774 Issue #27774
This commit is contained in:
		| @@ -1483,6 +1483,9 @@ func (c *AWSCloud) GetDiskPath(volumeName string) (string, error) { | ||||
| // Implement Volumes.DiskIsAttached | ||||
| func (c *AWSCloud) DiskIsAttached(diskName, instanceID string) (bool, error) { | ||||
| 	awsInstance, err := c.getAwsInstance(instanceID) | ||||
| 	if err != nil { | ||||
| 		return false, err | ||||
| 	} | ||||
|  | ||||
| 	info, err := awsInstance.describeInstance() | ||||
| 	if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 k8s-merge-robot
					k8s-merge-robot