Closed vooon closed 3 years ago
GetCloudFromYAML start to return error unable to load secure.yaml: no secure.yml file found.
unable to load secure.yaml: no secure.yml file found
This condition is wrong:
https://github.com/gophercloud/utils/blob/13abf22518866c8220f3685c811736b252842d1c/openstack/clientconfig/requests.go#L141
Instead of string comparison need to define error (or use standard) + errors.Is().
errors.Is()
GetCloudFromYAML start to return error
unable to load secure.yaml: no secure.yml file found
.This condition is wrong:
https://github.com/gophercloud/utils/blob/13abf22518866c8220f3685c811736b252842d1c/openstack/clientconfig/requests.go#L141
Instead of string comparison need to define error (or use standard) +
errors.Is()
.