provider/aws: Switch format for error message to utilize Go Stringer
This commit is contained in:
parent
a344204cc7
commit
2a860ff564
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue