mypy: privileged/nvmeof.py

Change-Id: I6cc75ebe936443630c2e87b7c31bbfe14f753ae4
This commit is contained in:
Eric Harney 2022-07-08 09:01:03 -04:00
parent a519dd8d07
commit 35bf3cb4a6
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ os_brick/initiator/connectors/remotefs.py
os_brick/initiator/host_driver.py
os_brick/initiator/linuxfc.py
os_brick/initiator/utils.py
os_brick/privileged/nvmeof.py
os_brick/remotefs/remotefs.py
os_brick/initiator/linuxrbd.py
os_brick/encryptors/luks.py

View File

@ -27,7 +27,7 @@ LOG = logging.getLogger(__name__)
@os_brick.privileged.default.entrypoint
def create_hostnqn():
def create_hostnqn() -> str:
"""Create the hostnqn file to speed up finding out the nqn.
By having the /etc/nvme/hostnqn not only do we make sure that that value is