Skip to content

Commit

Permalink
Minor documentation improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcm32 committed Apr 18, 2016
1 parent f802420 commit 0002595
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/galaxy/jobs/runners/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __get_k8s_job_spec(self, job_wrapper):
return k8s_job_spec

def __get_k8s_job_spec_template(self, job_wrapper):
"""The spec template is nothing but a Pod spec, except that it is nested and does not have an apiversion
"""The k8s spec template is nothing but a Pod spec, except that it is nested and does not have an apiversion
nor kind. In addition to required fields for a Pod, a pod template in a job must specify appropriate labels
(see pod selector) and an appropriate restart policy."""
k8s_spec_template = {
Expand Down Expand Up @@ -240,6 +240,8 @@ def check_watched_item(self, job_state):


def __get_job_states(self):
"""Get the states of all jobs submitted by this Galaxy runner
to the Kubernetes cluster"""
job_destinations = {}
job_states = {}
# unique the list of destinations
Expand Down

0 comments on commit 0002595

Please sign in to comment.