Skip to content

Commit e30e0c8

Browse files
AkihiroSudastevvooe
authored andcommitted
api: RootFS -> SnapshotKey
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp> Signed-off-by: Stephen J Day <stephen.day@docker.com>
1 parent 8b63386 commit e30e0c8

File tree

17 files changed

+168
-171
lines changed

17 files changed

+168
-171
lines changed

api/next.pb.txt

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,11 @@ file {
155155
json_name: "snapshotter"
156156
}
157157
field {
158-
name: "rootfs"
158+
name: "snapshot_key"
159159
number: 7
160160
label: LABEL_OPTIONAL
161161
type: TYPE_STRING
162-
options {
163-
65004: "RootFS"
164-
}
165-
json_name: "rootfs"
162+
json_name: "snapshotKey"
166163
}
167164
field {
168165
name: "created_at"
@@ -1216,14 +1213,11 @@ file {
12161213
json_name: "labels"
12171214
}
12181215
field {
1219-
name: "rootfs"
1216+
name: "snapshot_key"
12201217
number: 4
12211218
label: LABEL_OPTIONAL
12221219
type: TYPE_STRING
1223-
options {
1224-
65004: "RootFS"
1225-
}
1226-
json_name: "rootfs"
1220+
json_name: "snapshotKey"
12271221
}
12281222
nested_type {
12291223
name: "LabelsEntry"

api/services/containers/v1/containers.pb.go

Lines changed: 58 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/services/containers/v1/containers.proto

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,17 @@ message Container {
6767
// Snapshotter specifies the snapshotter name used for rootfs
6868
string snapshotter = 6;
6969

70-
// RootFS specifies the snapshot key to use for the container's root
70+
// SnapshotKey specifies the snapshot key to use for the container's root
7171
// filesystem. When starting a task from this container, a caller should
7272
// look up the mounts from the snapshot service and include those on the
7373
// task create request.
7474
//
7575
// Snapshots referenced in this field will not be garbage collected.
7676
//
77+
// This field is set to empty when the rootfs is not a snapshot.
78+
//
7779
// This field may be updated.
78-
string rootfs = 7 [(gogoproto.customname) = "RootFS"];
80+
string snapshot_key = 7;
7981

8082
// CreatedAt is the time the container was first created.
8183
google.protobuf.Timestamp created_at = 8 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];

0 commit comments

Comments
 (0)