Skip to content

Commit

Permalink
default values: None -> []
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jul 5, 2018
1 parent daddbcc commit f2cfc58
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions kubespawner/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ def make_pod(
extra_pod_config=None,
extra_containers=None,
scheduler_name=None,
tolerations=None,
node_affinity_preferred=None,
node_affinity_required=None,
pod_affinity_preferred=None,
pod_affinity_required=None,
pod_anti_affinity_preferred=None,
pod_anti_affinity_required=None,
tolerations=[],
node_affinity_preferred=[],
node_affinity_required=[],
pod_affinity_preferred=[],
pod_affinity_required=[],
pod_anti_affinity_preferred=[],
pod_anti_affinity_required=[],
):
"""
Make a k8s pod specification for running a user notebook.
Expand Down

0 comments on commit f2cfc58

Please sign in to comment.