Merge pull request #35066 from justinsb/typo_attachment

Automatic merge from submit-queue

Fix typo: attachement -> attachment
This commit is contained in:
Kubernetes Submit Queue
2016-11-02 03:07:45 -07:00
committed by GitHub

View File

@@ -1743,7 +1743,7 @@ func (c *Cloud) GetDiskPath(volumeName string) (string, error) {
return "", err
}
if len(info.Attachments) == 0 {
return "", fmt.Errorf("No attachement to volume %s", volumeName)
return "", fmt.Errorf("No attachment to volume %s", volumeName)
}
return aws.StringValue(info.Attachments[0].Device), nil
}