From 84bdea3f4fc07ffe58dc819fa188cca3f0ea1a26 Mon Sep 17 00:00:00 2001 From: Fabio Kung Date: Mon, 20 Mar 2017 08:20:53 -0700 Subject: [PATCH] how to maintain the container snapshot struct Signed-off-by: Fabio Kung Upstream-commit: 2ed6f9257a0ccb81583e65bf8af0e00f8e2dedcb Component: engine --- components/engine/container/snapshot.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/engine/container/snapshot.go b/components/engine/container/snapshot.go index 1e81039bbc..861b7ae65e 100644 --- a/components/engine/container/snapshot.go +++ b/components/engine/container/snapshot.go @@ -11,7 +11,8 @@ import ( "github.com/docker/go-connections/nat" ) -// Snapshot is a read only view for Containers +// Snapshot is a read only view for Containers. It holds all information necessary to serve container queries in a +// versioned ACID in-memory store. Pointers are avoided here to make sure all values are copied into the store. type Snapshot struct { ID string `json:"Id"` Name string