Merge pull request #3847 from betawaffle/master

Add queued as a pending state for Packet provider.
This commit is contained in:
James Nugent 2015-11-11 10:41:00 -05:00
commit f79af0a445
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ func resourcePacketDeviceCreate(d *schema.ResourceData, meta interface{}) error
log.Printf("[INFO] Device ID: %s", d.Id()) log.Printf("[INFO] Device ID: %s", d.Id())
_, err = WaitForDeviceAttribute(d, "active", []string{"provisioning"}, "state", meta) _, err = WaitForDeviceAttribute(d, "active", []string{"queued", "provisioning"}, "state", meta)
if err != nil { if err != nil {
return fmt.Errorf( return fmt.Errorf(
"Error waiting for device (%s) to become ready: %s", d.Id(), err) "Error waiting for device (%s) to become ready: %s", d.Id(), err)