generated from caicloud/golang-template-project
-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
/kind bug
What happened:
The export command isn't using the destination parameter when the --destination flag isn't specified.
How to reproduce it (as minimally and precisely as possible):
ormb export <ref> <dst>With <dst> different than ., which is the default.
Anything else we need to know?:
I'm using the python sdk which makes it quite complicated to work around the bug. I guess it'll be better to fix the root cause of the problem, but if it takes time I can submit a quick fix in the python sdk by adding the -d flag to the export wrapper function:
ormb/extern-sdk/python/ormb/api.py
Lines 26 to 29 in 429b392
| def export(ref: str, dst: str): | |
| ex = Popen([join(BIN_PATH, "ormb"), "export", ref, dst]) | |
| status = ex.wait() | |
| return status |
Metadata
Metadata
Assignees
Labels
No labels