Reformat
This commit is contained in:
parent
d375b6560d
commit
4458de4ea0
|
@ -7,8 +7,8 @@ import (
|
|||
"net"
|
||||
"os"
|
||||
"strconv"
|
||||
"time"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/service/ec2"
|
||||
|
|
|
@ -2,15 +2,15 @@ package amazonimport
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"os"
|
||||
"log"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/ec2"
|
||||
"github.com/aws/aws-sdk-go/service/s3/s3manager"
|
||||
"github.com/aws/aws-sdk-go/service/s3"
|
||||
"github.com/aws/aws-sdk-go/service/s3/s3manager"
|
||||
// This is bad, it should be pulled out into a common folder across
|
||||
// both builders and post-processors
|
||||
awscommon "github.com/mitchellh/packer/builder/amazon/common"
|
||||
|
@ -210,7 +210,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
|
|||
// If we have tags, then apply them now to both the AMI and snaps
|
||||
// created by the import
|
||||
if len(p.config.Tags) > 0 {
|
||||
var ec2Tags []*ec2.Tag;
|
||||
var ec2Tags []*ec2.Tag
|
||||
|
||||
log.Printf("Repacking tags into AWS format")
|
||||
|
||||
|
|
Loading…
Reference in New Issue