Skip to content

Commit

Permalink
discovery: update class Connection data type
Browse files Browse the repository at this point in the history
Signed-off-by: Yin Congmin <[email protected]>
  • Loading branch information
CongMinYin authored and Alexander Indenbaum committed Sep 6, 2023
1 parent ecf54e1 commit 9849be5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions control/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ class Connection:
allow_listeners: list = field(default_factory=list)
log_page: bytearray = field(default_factory=bytearray)
recv_buffer: bytearray = field(default_factory=bytearray)
nvmeof_connect_data_hostid: str = field(default_factory=str)
nvmeof_connect_data_hostid: tuple = tuple((c_ubyte *16)())
nvmeof_connect_data_cntlid: int = 0
nvmeof_connect_data_subnqn: str = field(default_factory=str)
nvmeof_connect_data_hostnqn: str = field(default_factory=str)
nvmeof_connect_data_subnqn: tuple = tuple((c_ubyte *256)())
nvmeof_connect_data_hostnqn: tuple = tuple((c_ubyte *256)())
sq_head_ptr: int = 0
unsent_log_page_len: int = 0
# NVM ExpressTM Revision 1.4, page 47
Expand Down

0 comments on commit 9849be5

Please sign in to comment.