mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #35066 from justinsb/typo_attachment
Automatic merge from submit-queue Fix typo: attachement -> attachment
This commit is contained in:
commit
674b770a20
@ -1743,7 +1743,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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user