Fix typo: attachement -> attachment
This commit is contained in:
@@ -1740,7 +1740,7 @@ func (c *Cloud) GetDiskPath(volumeName string) (string, error) {
|
|||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
if len(info.Attachments) == 0 {
|
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
|
return aws.StringValue(info.Attachments[0].Device), nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user