Skip to content

Commit

Permalink
Merge pull request #3847 from betawaffle/master
Browse files Browse the repository at this point in the history
Add queued as a pending state for Packet provider.
  • Loading branch information
jen20 committed Nov 11, 2015
2 parents 9426f6f + 2962305 commit f79af0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/packet/resource_packet_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func resourcePacketDeviceCreate(d *schema.ResourceData, meta interface{}) error

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 {
return fmt.Errorf(
"Error waiting for device (%s) to become ready: %s", d.Id(), err)
Expand Down

0 comments on commit f79af0a

Please sign in to comment.