provider/aws: Switch format for error message to utilize Go Stringer

This commit is contained in:
clint shryock 2016-02-12 14:16:20 -06:00
parent a344204cc7
commit 2a860ff564
1 changed files with 2 additions and 2 deletions

View File

@ -340,7 +340,7 @@ func resourceAwsDirectoryServiceDirectoryCreate(d *schema.ResourceData, meta int
}
if _, err := stateConf.WaitForState(); err != nil {
return fmt.Errorf(
"Error waiting for Directory Service (%s) to become available: %#v",
"Error waiting for Directory Service (%s) to become available: %s",
d.Id(), err)
}
@ -404,7 +404,7 @@ func resourceAwsDirectoryServiceDirectoryRead(d *schema.ResourceData, meta inter
}
dir := out.DirectoryDescriptions[0]
log.Printf("[DEBUG] Received DS directory: %s", *dir)
log.Printf("[DEBUG] Received DS directory: %s", dir)
d.Set("access_url", *dir.AccessUrl)
d.Set("alias", *dir.Alias)