Print log in one line

This commit is contained in:
Colin Hebert 2015-03-07 17:20:51 +11:00
parent 2260045dc8
commit 675f8ea7b9
1 changed files with 1 additions and 3 deletions

View File

@ -293,9 +293,7 @@ func resourceAwsInstanceCreate(d *schema.ResourceData, meta interface{}) error {
if v := d.Get("security_groups"); v != nil { if v := d.Get("security_groups"); v != nil {
if runOpts.SubnetId != "" { if runOpts.SubnetId != "" {
log.Printf( log.Printf("[WARN] Deprecated. Attempting to use 'security_groups' within a VPC instance. Use 'vpc_security_group_ids' instead.")
"[WARN] Deprecated. Attempting to use 'security_groups' within a VPC instance. Use 'vpc_security_group_ids' instead."
)
} }
for _, v := range v.(*schema.Set).List() { for _, v := range v.(*schema.Set).List() {