Skip to content

Commit

Permalink
Improves job name, prepending string to make it URLable as required b…
Browse files Browse the repository at this point in the history
…y kubernetes
  • Loading branch information
pcm32 committed Apr 13, 2016
1 parent c16fe16 commit f6dc05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/runners/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def queue_job( self, job_wrapper ):
external_runjob_script = None

def __produce_unique_k8s_job_name(self, job_wrapper):
return job_wrapper.get_id_tag() + "-" +
return "galaxy-" + job_wrapper.get_id_tag()

def __get_k8s_job_spec(self, job_wrapper):
"""Creates the k8s Job spec. For a Job spec, the only requirement is to have a .spec.template."""
Expand Down

0 comments on commit f6dc05f

Please sign in to comment.