From 568a112519b9317de3d26fcd83398db4f594464c Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Sun, 5 Apr 2020 20:01:30 +0200 Subject: [PATCH] fixup zfs changes --- zfs/versions.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zfs/versions.go b/zfs/versions.go index 846e9a9..88c9935 100644 --- a/zfs/versions.go +++ b/zfs/versions.go @@ -253,7 +253,7 @@ func ZFSListFilesystemVersions(fs *DatasetPath, options ListFilesystemVersionsOp } func ZFSGetFilesystemVersion(ctx context.Context, ds string) (v FilesystemVersion, _ error) { - props, err := zfsGet(ctx, ds, []string{"createtxg", "guid", "creation"}, sourceAny) + props, err := zfsGet(ctx, ds, []string{"createtxg", "guid", "creation", "userrefs"}, sourceAny) if err != nil { return v, err } @@ -262,5 +262,6 @@ func ZFSGetFilesystemVersion(ctx context.Context, ds string) (v FilesystemVersio createtxg: props.Get("createtxg"), guid: props.Get("guid"), creation: props.Get("creation"), + userrefs: props.Get("userrefs"), }) }