Skip to content

Commit

Permalink
Fix gofmt
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Nov 6, 2020
1 parent 220055f commit 19a0843
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/provision/ec2.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ func (p *EC2Provisioner) Provision(host BasicHost) (*ProvisionedHost, error) {
})
if err != nil {
// clean up SG if there was an issue provisioning the EC2 instance
input := ec2.DeleteSecurityGroupInput {
GroupId: groupID,
input := ec2.DeleteSecurityGroupInput{
GroupId: groupID,
}
_, sgErr := p.ec2Provisioner.DeleteSecurityGroup(&input)
if sgErr != nil {
Expand Down Expand Up @@ -299,7 +299,7 @@ func (p *EC2Provisioner) createEC2SecurityGroupRule(groupID string, fromPort, to
func (p *EC2Provisioner) lookupAMI(name string) (*string, error) {
images, err := p.ec2Provisioner.DescribeImages(&ec2.DescribeImagesInput{
Filters: []*ec2.Filter{
&ec2.Filter{
{
Name: aws.String("name"),
Values: []*string{
aws.String(name),
Expand Down

0 comments on commit 19a0843

Please sign in to comment.