Merge pull request #10032 from hashicorp/jbardin/vet
Fix future vet errors in providers
This commit is contained in:
commit
bda84e03f7
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue