zpool: fix default value for cache

we want an empty list instead of null
This commit is contained in:
Jörg Thalheim committed 2024-10-01 08:55:41 +02:00
1 parent b709e1cc33
commit 91cd091669
1 file changed
+1 -1
+1 -1
View File
@@ -79,7 +79,7 @@ in
};
cache = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = null;
default = [];
description = ''
A dedicated zfs cache device (L2ARC). See
https://openzfs.github.io/openzfs-docs/man/master/7/zpoolconcepts.7.html#Cache_Devices