Skip to content

Commit

Permalink
Remove old zfssnap label support as it was not complete
Browse files Browse the repository at this point in the history
  • Loading branch information
hkbakke committed Feb 1, 2017
1 parent 9cce437 commit db7240b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/zfssnap.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,7 @@ def version(self, value):

@property
def label(self):
label = self.get_property(ZFSSNAP_LABEL)

if not label:
label = self.get_property('zol:zfssnap:label')

return label
return self.get_property(ZFSSNAP_LABEL)

@label.setter
def label(self, value):
Expand Down

0 comments on commit db7240b

Please sign in to comment.