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:
parent
3cb775b9ae
commit
a04b77e6bd
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user