FAQ | This is a LIVE service | Changelog

Commit d5802f8c authored by Jon Marshall's avatar Jon Marshall
Browse files

Not really sure what was going wrong but this should now work

parent d7ffa589
......@@ -109,8 +109,8 @@ class Dataset():
'''
Clears a property
'''
clear_cmd = 'zfs inherit %s %s' % (PROP+prop, self.name)
self._exec_command(clear_cmd)
clear_prop_cmd = 'zfs inherit %s %s' % (PROP+prop, self.name)
self._exec_command(clear_prop_cmd)
def get_holdlist(self):
'''
Update internal holdlist
......@@ -904,7 +904,7 @@ def clear_cmd(args):
snapholds = clear_set.get_holds(snap)
for hold in snapholds:
if 'SEND' in hold:
print('Clearing hold %s from snap %s' % snap, hold)
print('Clearing hold %s' % hold)
clear_set.release_snap(snap, hold)
def zabbix_cmd(args):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment