def governor(self): return AnarchyGovernor.get(self.spec['governorRef']['name'])
def get_governor(self, runtime): governor = AnarchyGovernor.get(self.spec['governor']) if not governor: operator_logger.error('Unable to find governor %s', self.governor_name) return governor