terraform/builtin/providers/digitalocean
Joseph Anthony Pasquale Holsten 5b0894b5cd simplify digitalocean_droplet.image loading
If a droplet's image slug is empty and its image id is empty, then the
image attribute should be empty, so we may assign from either. So it is
unnecessary to check if the image id is empty.

* remove unnecessary check for emptiness of image id
* reverse order of the conditions for assigning the image attribute,
  with the default case (using the slug) first, and the fallback case
  (using the id) second
2014-12-01 11:36:05 -08:00
..
config.go Refactor the DigitalOcean provider 2014-11-18 11:26:59 +01:00
provider.go Refactor the DigitalOcean provider 2014-11-18 11:26:59 +01:00
provider_test.go Refactor the DigitalOcean provider 2014-11-18 11:26:59 +01:00
resource_digitalocean_domain.go Refactor the DigitalOcean provider 2014-11-18 11:26:59 +01:00
resource_digitalocean_domain_test.go Refactor the DigitalOcean provider 2014-11-18 11:26:59 +01:00
resource_digitalocean_droplet.go simplify digitalocean_droplet.image loading 2014-12-01 11:36:05 -08:00
resource_digitalocean_droplet_test.go Refactor the DigitalOcean provider 2014-11-18 11:26:59 +01:00
resource_digitalocean_record.go Refactor the DigitalOcean provider 2014-11-18 11:26:59 +01:00
resource_digitalocean_record_test.go Refactor the DigitalOcean provider 2014-11-18 11:26:59 +01:00