mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-21 23:41:41 -04:00
gophercloud.ServerById is broken in v0.1.0 - it will crash if you feed it a non-existing server ID (see [rackspace/gophercloud #168](https://github.com/rackspace/gophercloud/issues/168)) Instead, list all servers and iterate over them. If the server id isn't found, return "DELETED" as a state. Not perfect but it works until next version of gophercloud is released.