Updating comment so we do not have gofmt issues with go 1.9 and go 1.10

There is a change in gofmt between go 1.10 and go 1.9.  The aws.go file
needs formating with go 1.10, while it is passing 1.9.  This commit moves
a comment above the parens so that both go 1.9 and 1.10 formats the file
in the same manner.
This commit is contained in:
chrislovecnm 2018-03-09 14:53:17 -07:00
parent d46f35539f
commit aabfc1cf13
1 changed files with 4 additions and 4 deletions

View File

@ -700,10 +700,10 @@ func ListKeypairs(cloud fi.Cloud, clusterName string) ([]*Resource, error) {
keypairName := "kubernetes." + clusterName
glog.V(2).Infof("Listing EC2 Keypairs")
request := &ec2.DescribeKeyPairsInput{
// We need to match both the name and a prefix
//Filters: []*ec2.Filter{awsup.NewEC2Filter("key-name", keypairName)},
}
// TODO: We need to match both the name and a prefix
// TODO: usee 'Filters: []*ec2.Filter{awsup.NewEC2Filter("key-name", keypairName)},'
request := &ec2.DescribeKeyPairsInput{}
response, err := c.EC2().DescribeKeyPairs(request)
if err != nil {
return nil, fmt.Errorf("error listing KeyPairs: %v", err)