Skip to content

Commit

Permalink
Remove gogoproto.stdtime
Browse files Browse the repository at this point in the history
This commit removes gogoproto.stdtime, since it is not supported by
Google's official toolchain
(see containerd/containerd#6564).

Signed-off-by: Kazuyoshi Kato <[email protected]>

Containerd-test-commit: a8578f6
  • Loading branch information
kzys committed Apr 19, 2022
1 parent 128d76b commit caf4c55
Show file tree
Hide file tree
Showing 28 changed files with 1,234 additions and 1,108 deletions.
171 changes: 93 additions & 78 deletions api/events/task.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/events/task.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ message TaskDelete {
string container_id = 1;
uint32 pid = 2;
uint32 exit_status = 3;
google.protobuf.Timestamp exited_at = 4 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
google.protobuf.Timestamp exited_at = 4;
// id is the specific exec. By default if omitted will be `""` thus matches
// the init exec of the task matching `container_id`.
string id = 5;
Expand All @@ -62,7 +62,7 @@ message TaskExit {
string id = 2;
uint32 pid = 3;
uint32 exit_status = 4;
google.protobuf.Timestamp exited_at = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
google.protobuf.Timestamp exited_at = 5;
}

message TaskOOM {
Expand Down
Loading

0 comments on commit caf4c55

Please sign in to comment.