From 4e00424a222a28bc7fdd1611d39666f4bdad4a31 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Thu, 11 Jul 2024 01:17:36 +0000 Subject: [PATCH] fix(snapshot): fix missing userCreated in SnapshotList() Longhorn 8964 Signed-off-by: Derek Su --- pkg/proxy/snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proxy/snapshot.go b/pkg/proxy/snapshot.go index b31b1a1c1..6ffbe022b 100644 --- a/pkg/proxy/snapshot.go +++ b/pkg/proxy/snapshot.go @@ -153,7 +153,7 @@ func (ops V2DataEngineProxyOps) SnapshotList(ctx context.Context, req *rpc.Proxy Parent: snapshot.Parent, Children: snapshot.Children, Removed: false, - UserCreated: true, + UserCreated: snapshot.UserCreated, Created: snapshot.SnapshotTimestamp, Size: strconv.FormatUint(snapshot.ActualSize, 10), Labels: map[string]string{},