Code Review
/
releng-testresults.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9f086a3
)
bugfix: adapt mongorestore to work in mongodb 3.0 and above
author
SerenaFeng
<feng.xiaowei@zte.com.cn>
Fri, 17 Jun 2016 08:09:26 +0000
(16:09 +0800)
committer
SerenaFeng
<feng.xiaowei@zte.com.cn>
Fri, 17 Jun 2016 09:24:50 +0000
(17:24 +0800)
mongorestore --db db must be specified
JIRA: FUNCTEST-322
Change-Id: Idfbc99f23735f8871f29bb0e5e0240d47a7877bb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
result_collection_api/update/restore.py
patch
|
blob
|
history
diff --git
a/result_collection_api/update/restore.py
b/result_collection_api/update/restore.py
index
c3e06cc
..
c45a0e6
100644
(file)
--- 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.')