go vet caught wrong number of params passed to error message

This commit is contained in:
Chris Bednarski 2015-05-28 21:21:52 -07:00
parent f7e71a21ae
commit d9551866f4

View File

@ -82,7 +82,7 @@ func resourceAwsVolumeAttachmentCreate(d *schema.ResourceData, meta interface{})
_, err = stateConf.WaitForState()
if err != nil {
return fmt.Errorf(
"Error waiting for Volume (%s) to attach to Instance: %s, error:",
"Error waiting for Volume (%s) to attach to Instance: %s, error: %s",
vID, iID, err)
}