去掉不用的参数
This commit is contained in:
@ -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
|
||||
|
@ -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))
|
||||
|
||||
|
Reference in New Issue
Block a user