Skip to content

Commit

Permalink
fix(snapshot): fix missing userCreated in SnapshotList()
Browse files Browse the repository at this point in the history
Longhorn 8964

Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit authored and c3y1huang committed Jul 11, 2024
1 parent a2c63cf commit 4e00424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxy/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
Expand Down

0 comments on commit 4e00424

Please sign in to comment.