terraform/builtin/providers
Krzysztof Wilczynski 5af8c8080a
Fix. Handle missing AMI name when matching against image name.
This commit fixes the issues where in a very rare cases the Amazon Machine
Image (AMI) would not have an image name set causing regular expression match
to fail with a nil pointer dereference. Also, the logic of if-else statements
was simplified (reduced branching since return is used a lot).

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-24 14:34:00 +01:00
..
archive
atlas
aws Fix. Handle missing AMI name when matching against image name. 2016-09-24 14:34:00 +01:00
azure
azurerm
bitbucket provider/bitbucket: Remove unnecessary casts. 2016-09-22 17:35:03 +10:00
chef
clc
cloudflare
cloudstack
cobbler
consul
datadog
digitalocean
dme
dnsimple
docker
dyn
fastly
github
google
grafana
heroku
influxdb
librato provider/librato: Randomize the test case names as dangling resources were causing failures 2016-09-22 12:43:06 +01:00
logentries
mailgun
mysql
null
openstack
packet
postgresql
powerdns
rabbitmq
random
rundeck
scaleway
softlayer
statuscake
template
terraform
test
tls
triton
ultradns
vcd
vsphere