diff options
author | 2016-06-17 16:09:26 +0800 | |
---|---|---|
committer | 2016-06-17 17:24:50 +0800 | |
commit | e57cc46414caf6cbada9597b8c77d0be4da10352 (patch) | |
tree | 758e2aee9dc10ba381c02f3f31ec58b8e974a8d5 | |
parent | 9f086a390b3c9039528cb567811fa5cd181f7a2f (diff) |
bugfix: adapt mongorestore to work in mongodb 3.0 and above
mongorestore --db db must be specified
JIRA: FUNCTEST-322
Change-Id: Idfbc99f23735f8871f29bb0e5e0240d47a7877bb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
-rw-r--r-- | result_collection_api/update/restore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/result_collection_api/update/restore.py b/result_collection_api/update/restore.py index c3e06cc..c45a0e6 100644 --- a/result_collection_api/update/restore.py +++ b/result_collection_api/update/restore.py @@ -24,7 +24,7 @@ parser.add_argument('-i', '--input_dir', parser.add_argument('-d', '--db', type=str, required=False, - default=None, + default='test_results_collection', help='database name after the restore.') |