@staticmethod
    def get_host_aliases(agentConfig):
        try:
            host_metadata = GCE._get_metadata(agentConfig)
            project_id = host_metadata['project']['projectId']
            instance_name = host_metadata['instance']['hostname'].split('.')[0]
            return [(instance_name, project_id) % '%s.%s']
        except Exception:
            return None
dataset/ETHPy150Open serverdensity/sd-agent/util.py/GCE.get_host_aliases/swapped operands of `%`