def resume_bitrot_scan():
"""
Resume bitrot scan
"""
vol = action_get("volume")
option = volume.BitrotOption.Scrub(volume.ScrubControl.Resume)
try:
volume.volume_set_bitrot_option(vol, option)
except GlusterCmdException as e:
action_fail("resume bitrot scan failed with error: {}".format(e))
评论列表
文章目录