Revision 031ca67d kamaki/cli/errors.py
b/kamaki/cli/errors.py | ||
---|---|---|
73 | 73 |
|
74 | 74 |
class CLIBaseUrlError(CLIError): |
75 | 75 |
def __init__(self, message='', details=[], importance=2, service=None): |
76 |
message = message or 'No url for %s' % service.lower()
|
|
76 |
message = message or 'No URL for %s' % service.lower()
|
|
77 | 77 |
details = details or [ |
78 | 78 |
'Two options to resolve this:', |
79 | 79 |
'(Use the correct cloud name, instead of "default")', |
... | ... | |
83 | 83 |
' /config set cloud.default.token <t0k3n>', |
84 | 84 |
'B. (advanced users) Explicitly set a valid %s endpoint URL' % ( |
85 | 85 |
service.upper()), |
86 |
'Note: url option has a higher priority, so delete it to',
|
|
86 |
'Note: URL option has a higher priority, so delete it to',
|
|
87 | 87 |
'make that work', |
88 | 88 |
' /config delete cloud.default.url', |
89 | 89 |
' /config set cloud.%s.url <%s_URL>' % ( |
Also available in: Unified diff