Fix container CreatedAt and UpdatedAt.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2017-09-22 05:57:02 +00:00
parent 709d34f882
commit 54521126aa
2 changed files with 4 additions and 0 deletions

View File

@ -117,6 +117,8 @@ func containerFromProto(containerpb *containersapi.Container) containers.Contain
Spec: containerpb.Spec,
Snapshotter: containerpb.Snapshotter,
SnapshotKey: containerpb.SnapshotKey,
CreatedAt: containerpb.CreatedAt,
UpdatedAt: containerpb.UpdatedAt,
Extensions: containerpb.Extensions,
}
}

View File

@ -27,6 +27,8 @@ func containerToProto(container *containers.Container) api.Container {
Spec: container.Spec,
Snapshotter: container.Snapshotter,
SnapshotKey: container.SnapshotKey,
CreatedAt: container.CreatedAt,
UpdatedAt: container.UpdatedAt,
Extensions: container.Extensions,
}
}