zfs: add 'received' property source, handle 'any' source correctly and use 'any' for placeholder FS detection
we want was first noticed in zfs 0.8rc1 Upstream doc PR: https://github.com/zfsonlinux/zfs/pull/8134
This commit is contained in:
+2
-1
@@ -39,7 +39,8 @@ func TestZFSPropertySource(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
in: sourceAny,
|
||||
exp: []string{"local", "default", "inherited", "-", "temporary"},
|
||||
// although empty prefix matches any source
|
||||
exp: []string{"local", "default", "inherited", "-", "temporary", "received", ""},
|
||||
},
|
||||
{
|
||||
in: sourceTemporary,
|
||||
|
||||
Reference in New Issue
Block a user