From edd85ed564cd6cf31540185bf0a3b374ff7131a4 Mon Sep 17 00:00:00 2001 From: Logan Cary Date: Fri, 11 Oct 2024 17:33:52 -0400 Subject: [PATCH] add "disabled" to pool.dataset.create snapdir enum (#14664) --- src/middlewared/middlewared/plugins/pool_/dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewared/middlewared/plugins/pool_/dataset.py b/src/middlewared/middlewared/plugins/pool_/dataset.py index f20156d6a98fb..bb60a266c24a2 100644 --- a/src/middlewared/middlewared/plugins/pool_/dataset.py +++ b/src/middlewared/middlewared/plugins/pool_/dataset.py @@ -464,7 +464,7 @@ async def __common_validation(self, verrors, schema, data, mode, parent=None, cu Int('refreservation'), Inheritable(Int('special_small_block_size'), has_default=False), Inheritable(Int('copies')), - Inheritable(Str('snapdir', enum=['VISIBLE', 'HIDDEN'])), + Inheritable(Str('snapdir', enum=['DISABLED', 'VISIBLE', 'HIDDEN'])), Inheritable(Str('deduplication', enum=['ON', 'VERIFY', 'OFF'])), Inheritable(Str('checksum', enum=ZFS_CHECKSUM_CHOICES)), Inheritable(Str('readonly', enum=['ON', 'OFF'])),