def _tail_logs(self): log_helpers.call_logs(self.config, self.args)
def _tail_logs(self): """need to tail the most recent job just in case there are more than one and a user runs `mlt deploy -l` """ self.args["--job-name"] = self.job_sub_dir.replace('k8s/', '') log_helpers.call_logs(self.config, self.args)
def action(self): """ Display logs from all pods for latest run. """ log_helpers.call_logs(self.config, self.args)