Fix container CreatedAt and UpdatedAt.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
709d34f882
commit
54521126aa
@ -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,
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user