Lint: F821 undefined name 'myshorthostname'

This commit is contained in:
Joshua Boniface 2020-11-07 13:31:19 -05:00
parent 85d3188eb9
commit c3dfe2e381
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ def readConfig(pvcnoded_config_file, myhostname):
# Handle an empty ipmi_hostname # Handle an empty ipmi_hostname
if config['ipmi_hostname'] == '': if config['ipmi_hostname'] == '':
config['ipmi_hostname'] = myshorthostname + '-lom.' + mydomainname config['ipmi_hostname'] = myhostname + '-lom.' + mydomainname
return config return config