fix go vet error
This commit is contained in:
parent
1a6aef0ed7
commit
b3d7bb2b39
|
@ -108,7 +108,7 @@ func resourceAwsLogFlowCreate(d *schema.ResourceData, meta interface{}) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(resp.FlowLogIDs) > 1 {
|
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])
|
d.SetId(*resp.FlowLogIDs[0])
|
||||||
|
|
Loading…
Reference in New Issue