From bf2a1c6a60ca5f6797902368c42cd6c2e1033538 Mon Sep 17 00:00:00 2001 From: vrde Date: Wed, 14 Feb 2018 10:20:56 +0100 Subject: [PATCH] Problem: older backends are no longer supported Solution: when running the command `bigchaindb configure`, configure for `localmongodb` only. --- bigchaindb/commands/bigchaindb.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bigchaindb/commands/bigchaindb.py b/bigchaindb/commands/bigchaindb.py index ac81591b..3b2edb5a 100644 --- a/bigchaindb/commands/bigchaindb.py +++ b/bigchaindb/commands/bigchaindb.py @@ -271,7 +271,10 @@ def create_parser(): help='Prepare the config file ' 'and create the node keypair') config_parser.add_argument('backend', - choices=['rethinkdb', 'mongodb', 'localmongodb'], + choices=['localmongodb'], + default='localmongodb', + const='localmongodb', + nargs='?', help='The backend to use. It can be either ' 'rethinkdb or mongodb.')