Revision 3ae60112 kamaki/cli/commands/errors.py
b/kamaki/cli/commands/errors.py | ||
---|---|---|
406 | 406 |
class pithos(object): |
407 | 407 |
container_howto = [ |
408 | 408 |
'To specify a container:', |
409 |
' 1. Set store.container variable (permanent)',
|
|
410 |
' /config set store.container <container>',
|
|
409 |
' 1. Set file.container variable (permanent)',
|
|
410 |
' /config set file.container <container>',
|
|
411 | 411 |
' 2. --container=<container> (temporary, overrides 1)', |
412 | 412 |
' 3. Use the container:path format (temporary, overrides all)', |
413 |
'For a list of containers: /store list']
|
|
413 |
'For a list of containers: /file list']
|
|
414 | 414 |
|
415 | 415 |
@classmethod |
416 | 416 |
def connection(this, foo): |
417 |
return generic._connection(foo, 'store.url')
|
|
417 |
return generic._connection(foo, 'file.url')
|
|
418 | 418 |
|
419 | 419 |
@classmethod |
420 | 420 |
def account(this, foo): |
... | ... | |
439 | 439 |
if ce.status == 413: |
440 | 440 |
raiseCLIError(ce, 'User quota exceeded', details=[ |
441 | 441 |
'* get quotas:', |
442 |
' * upper total limit: /store quota',
|
|
443 |
' * container limit: /store quota <container>',
|
|
442 |
' * upper total limit: /file quota',
|
|
443 |
' * container limit: /file quota <container>',
|
|
444 | 444 |
'* set a higher quota (if permitted):', |
445 |
' /store setquota <quota>[unit] <container>'
|
|
445 |
' /file setquota <quota>[unit] <container>'
|
|
446 | 446 |
' as long as <container quota> <= <total quota>']) |
447 | 447 |
raise |
448 | 448 |
return _raise |
Also available in: Unified diff