gophercloud/utils

ClientConfig fails on secure.yaml absence

vooon opened this issue · 0 comments

vooon commented

GetCloudFromYAML start to return error unable to load secure.yaml: no secure.yml file found.

This condition is wrong:

if err.Error() == "no secure.yaml file found" {

Instead of string comparison need to define error (or use standard) + errors.Is().