fix go vet error

This commit is contained in:
Clint Shryock 2015-06-17 16:45:14 -05:00
parent 1a6aef0ed7
commit b3d7bb2b39
1 changed files with 3 additions and 3 deletions

View File

@ -25,8 +25,8 @@ func resourceAwsFlowLog() *schema.Resource {
"log_group_name": &schema.Schema{
Type: schema.TypeString,
Required: true,
ForceNew: true,
Required: true,
ForceNew: true,
},
"vpc_id": &schema.Schema{
@ -108,7 +108,7 @@ func resourceAwsLogFlowCreate(d *schema.ResourceData, meta interface{}) error {
}
if len(resp.FlowLogIDs) > 1 {
return fmt.Errorf("Error: multiple Flow Logs created for (%s), error: %s", resourceId)
return fmt.Errorf("Error: multiple Flow Logs created for (%s)", resourceId)
}
d.SetId(*resp.FlowLogIDs[0])