Explorar o código

HUE-7012 [jb] Wrong spelling of Job has not tasks

jdesjean %!s(int64=8) %!d(string=hai) anos
pai
achega
271cead
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/jobbrowser/src/jobbrowser/views.py

+ 1 - 1
apps/jobbrowser/src/jobbrowser/views.py

@@ -324,7 +324,7 @@ def job_attempt_logs_json(request, job, attempt_index=0, name='syslog', offset=L
       if app['finalStatus'] in ('SUCCEEDED', 'FAILED', 'KILLED'):
         attempt_index = int(attempt_index)
         if not job.job_attempts['jobAttempt']:
-          response = {'status': 0, 'log': _('Job has not tasks')}
+          response = {'status': 0, 'log': _('Job has no tasks')}
         else:
           attempt = job.job_attempts['jobAttempt'][attempt_index]