mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Fix typo: attachement -> attachment
This commit is contained in:
parent
4b7024efe7
commit
c53d62a554
@ -1740,7 +1740,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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user