def get_log_dir(self):
    if self.instance_id == -1:
      return self.proxy.deployment.get_log_dir(self.service,
        self.cluster, self.job)
    else:
      return self.proxy.deployment.get_log_dir(self.service,
        self.cluster, self.job, self.instance_id)
Strips the host index.
dataset/ETHPy150Open XiaoMi/minos/client/supervisor_client.py/SupervisorClient.get_log_dir--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/tests/functional/scheduler/test_dhcp_agent_scheduler.py/TestAutoSchedule._strip_host_index