Commit 0054af55 authored by Pawel Kaminski's avatar Pawel Kaminski Committed by Daniel Verkamp
Browse files

rpc: Fix missing import for json exception



Change-Id: I96b82d2c09a1cc2617f295e355d8a395e0090762
Signed-off-by: default avatarPawel Kaminski <pawelx.kaminski@intel.com>
Reviewed-on: https://review.gerrithub.io/413019


Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
parent 40b6f761
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ from . import nvmf
from . import pmem
from . import subsystem
from . import vhost
from . import client as rpc_client


def start_subsystem_init(client):
@@ -89,7 +90,7 @@ def load_config(client, args):
            allowed_found = True

        if subsystems and not allowed_found:
            raise JSONRPCException("Some config left but did not found any allowed method to execute")
            raise rpc_client.JSONRPCException("Some config left but did not found any allowed method to execute")


def load_subsystem_config(client, args):