rpc: rpc method 'load_config' should need 2 parameters.

Change-Id: I7a47d2187d135353d7f843a815fcbbb87ac4523b
Signed-off-by: xuhuagen <huagenx.xu@intel.com>
Reviewed-on: https://review.gerrithub.io/406138
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
xuhuagen 2018-04-03 14:12:36 +08:00 committed by Jim Harris
parent 3cb775b9ae
commit a04b77e6bd

View File

@ -46,7 +46,7 @@ def save_config(client, args):
file.write('\n')
def load_config(args):
def load_config(client, args):
if not args.filename or args.filename == '-':
config = json.load(sys.stdin)
else: