c30fc51b03
Even when public ssh key is not set by the user, CloudSigma's server context has a key `meta.ssh_public_key` which is just an empty string. So instead of just relying on the "comma ok" idiom I make sure the value is not an empty string. |
||
---|---|---|
.. | ||
cloudsigma | ||
digitalocean | ||
ec2 | ||
test | ||
metadata_test.go | ||
metadata.go |