Skip to content

Commit

Permalink
fix detaching volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
rmb938 committed Feb 9, 2018
1 parent 3a88bb1 commit cb1838e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deli/kubernetes/resources/v1alpha1/volume/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def attached_to(self):
@attached_to.setter
def attached_to(self, value):
if value is None:
self._raw['metadata']['labels'][ATTACHED_TO_LABEL] = None
self._raw['metadata']['labels'][ATTACHED_TO_LABEL] = ""
else:
self._raw['metadata']['labels'][ATTACHED_TO_LABEL] = str(value.id)

Expand Down

0 comments on commit cb1838e

Please sign in to comment.