Skip to content

Commit

Permalink
Merge pull request #103 from foxish/fix-returned-labels
Browse files Browse the repository at this point in the history
Fix return value of _build_common_labels
  • Loading branch information
minrk committed Nov 27, 2017
2 parents 06f3d6c + c44003f commit 06a2e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubespawner/spawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,8 +709,8 @@ def _build_common_labels(self, extra_labels):
if self.name:
# FIXME: Make sure this is dns safe?
labels['hub.jupyter.org/servername'] = self.name

return labels.update(extra_labels)
labels.update(extra_labels)
return labels

def _build_pod_labels(self, extra_labels):
labels = {
Expand Down

0 comments on commit 06a2e09

Please sign in to comment.