Skip to content

Commit

Permalink
Add self.discovery_pid init
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Indenbaum <[email protected]>
  • Loading branch information
Alexander Indenbaum committed Oct 4, 2023
1 parent 9f04faf commit 6770c39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions control/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class GatewayServer:
spdk_rpc_client: Client of SPDK RPC server
spdk_rpc_ping_client: Ping client of SPDK RPC server
spdk_process: Subprocess running SPDK NVMEoF target application
discovery_pid: Subprocess running Ceph nvmeof discovery service
"""

def __init__(self, config):
Expand All @@ -65,6 +66,7 @@ def __init__(self, config):
self.spdk_process = None
self.gateway_rpc = None
self.server = None
self.discovery_pid = None

self.name = self.config.get("gateway", "name")
if not self.name:
Expand Down

0 comments on commit 6770c39

Please sign in to comment.