the configuration refactoring #76 introduced a regression regarding the error raised when the region doesn't exist in the ini file.
% cs -r foo listZones
Traceback (most recent call last):
...
ValueError: endpointthe configuration is missing the following keys: , keythe configuration is missing the following keys: , secret
then
[foo] doesn't exist in the ini file.
% cs -r foo listZones
Error: region 'foo' not in config
[foo] is incomplete in the ini file.
% cs -r foo listZones
Traceback (most recent call last):
....
ValueError: the configuration is missing the following keys: endpoint, key, secret
the configuration refactoring #76 introduced a regression regarding the error raised when the region doesn't exist in the ini file.
then
[foo]
doesn't exist in the ini file.[foo]
is incomplete in the ini file.