Merge pull request #10032 from hashicorp/jbardin/vet

Fix future vet errors in providers
This commit is contained in:
James Bardin 2016-11-14 08:49:16 -05:00 committed by GitHub
commit bda84e03f7
2 changed files with 3 additions and 3 deletions

View File

@ -1295,7 +1295,7 @@ func findStorageAccountResourceGroup(meta interface{}, storageAccountName string
results := *rf.Value
if len(results) != 1 {
return "", fmt.Errorf("Wrong number of results making resource request for query %s: %s", filter, len(results))
return "", fmt.Errorf("Wrong number of results making resource request for query %s: %d", filter, len(results))
}
id, err := parseAzureResourceID(*results[0].ID)

View File

@ -255,7 +255,7 @@ func testAccCheckDigitalOceanDropletRenamedAndResized(droplet *godo.Droplet) res
}
if droplet.Disk != 30 {
return fmt.Errorf("Bad disk: %s", droplet.Disk)
return fmt.Errorf("Bad disk: %d", droplet.Disk)
}
return nil
@ -270,7 +270,7 @@ func testAccCheckDigitalOceanDropletResizeWithOutDisk(droplet *godo.Droplet) res
}
if droplet.Disk != 20 {
return fmt.Errorf("Bad disk: %s", droplet.Disk)
return fmt.Errorf("Bad disk: %d", droplet.Disk)
}
return nil