From c53d62a55401021857a8d3a4bf2bf8fbfc882591 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Tue, 18 Oct 2016 17:52:48 -0400 Subject: [PATCH] Fix typo: attachement -> attachment --- pkg/cloudprovider/providers/aws/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloudprovider/providers/aws/aws.go b/pkg/cloudprovider/providers/aws/aws.go index bc2968526a0..61746e86fa7 100644 --- a/pkg/cloudprovider/providers/aws/aws.go +++ b/pkg/cloudprovider/providers/aws/aws.go @@ -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 }