From 46f9c2cc3c2d8740c99b342fbb960de3191ce4ab Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Thu, 9 Apr 2015 06:28:01 -0700 Subject: [PATCH] Style: Ebs -> EBS --- pkg/cloudprovider/aws/aws.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cloudprovider/aws/aws.go b/pkg/cloudprovider/aws/aws.go index de50abdc8c7..7f6e35a9485 100644 --- a/pkg/cloudprovider/aws/aws.go +++ b/pkg/cloudprovider/aws/aws.go @@ -580,7 +580,7 @@ type awsInstanceType struct { } // TODO: Also return number of mounts allowed? -func (self *awsInstanceType) getEbsMountDevices() []string { +func (self *awsInstanceType) getEBSMountDevices() []string { // See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html devices := []string{} for c := 'f'; c <= 'p'; c++ { @@ -675,7 +675,7 @@ func (self *awsInstance) assignMountDevice(volumeId string) (mountDevice string, } // Check all the valid mountpoints to see if any of them are free - valid := instanceType.getEbsMountDevices() + valid := instanceType.getEBSMountDevices() chosen := "" for _, device := range valid { _, found := self.deviceMappings[device]