示例#1
0
文件: hosts.py 项目: Httqm/Santoku
 def getCheckInterval(self):
     self._directives = {
         'names'     : self._directivesNames,
         'values'    : self._directivesValues
         }
     return directives.getCheckInterval(self._directives)
示例#2
0
文件: services.py 项目: Httqm/Santoku
 def getCheckInterval(self):
     if self._hasDirectives:
         return directives.getCheckInterval(self._directivesCsv)
     else:
         return config.defaultHostCheckInterval