Skip to content

mantash provides incorrect error message for missing MANTA_KEY_ID #63

@rjloura

Description

@rjloura
mantash: ERROR: no Manta key ID: use '-i' or 'MANTA_KEY_ID' envvar (./bin/mantash:208 in postoptparse)
Traceback (most recent call last):
  File "./bin/mantash", line 2301, in <module>
    retval = main(sys.argv)
  File "./bin/mantash", line 2296, in main
    return shell.main(argv, loop=cmdln.LOOP_IF_EMPTY)
  File "/home/Administrator/git/python-manta/manta/cmdln.py", line 253, in main
    retval = self.postoptparse()
  File "./bin/mantash", line 208, in postoptparse
    "no Manta key ID: use '-i' or 'MANTA_KEY_ID' envvar")
MantashError: no Manta key ID: use '-i' or 'MANTA_KEY_ID' envvar

Even when specifying -i the same error is displayed.

Looking at the code the proper flag is -k or --keyId

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions