去掉不用的参数

This commit is contained in:
hangjin2020
2021-04-29 17:37:57 +08:00
parent a1f10426c6
commit 8bc6776398
2 changed files with 2 additions and 2 deletions

View File

@ -359,7 +359,7 @@ class OMCommand():
raise Exception(str(e))
@staticmethod
def checkHostnameMapping(clusterInfo, logFile):
def checkHostnameMapping(clusterInfo):
"""
function: check host name mapping
input: NA

View File

@ -616,7 +616,7 @@ Common options:
try:
self.logger.debug("Change file[/etc/hosts] mode.")
g_file.changeMode(DefaultValue.HOSTS_FILE, "/etc/hosts")
OMCommand.checkHostnameMapping(self.clusterInfo, self.logFile)
OMCommand.checkHostnameMapping(self.clusterInfo)
except Exception as e:
self.logger.logExit(str(e))