Skip to content

Commit

Permalink
Merge pull request #2186 from aaronlehmann/gogoproto
Browse files Browse the repository at this point in the history
gogoproto compatibility fix
  • Loading branch information
aaronlehmann authored May 16, 2017
2 parents feb448e + ca59883 commit 998a47f
Show file tree
Hide file tree
Showing 49 changed files with 2,010 additions and 1,083 deletions.
565 changes: 265 additions & 300 deletions api/control.pb.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions api/control.proto
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ message ListNodesRequest {
repeated string names = 1;
repeated string id_prefixes = 2;
map<string, string> labels = 3;
repeated NodeSpec.Membership memberships = 4;
repeated NodeRole roles = 5;
repeated NodeSpec.Membership memberships = 4 [packed=false];
repeated NodeRole roles = 5 [packed=false];
// NamePrefixes matches all objects with the given prefixes
repeated string name_prefixes = 6;
}
Expand Down Expand Up @@ -233,7 +233,7 @@ message ListTasksRequest {
map<string, string> labels = 3;
repeated string service_ids = 4;
repeated string node_ids = 5;
repeated docker.swarmkit.v1.TaskState desired_states = 6;
repeated docker.swarmkit.v1.TaskState desired_states = 6 [packed=false];
// NamePrefixes matches all objects with the given prefixes
repeated string name_prefixes = 7;
repeated string runtimes = 9;
Expand Down
1 change: 1 addition & 0 deletions api/dispatcher.pb.go

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

206 changes: 97 additions & 109 deletions api/logbroker.pb.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/logbroker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ enum LogStream {
message LogSubscriptionOptions {
// Streams defines which log streams should be sent from the task source.
// Empty means send all the messages.
repeated LogStream streams = 1;
repeated LogStream streams = 1 [packed=false];

// Follow instructs the publisher to continue sending log messages as they
// are produced, after satisfying the initial query.
Expand Down
228 changes: 108 additions & 120 deletions api/raft.pb.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/raft.proto
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ message JoinResponse {

// RemovedMembers is a list of members that have been removed from
// the cluster, so the new node can avoid communicating with them.
repeated uint64 removed_members = 3;
repeated uint64 removed_members = 3 [packed=false];
}

message LeaveRequest {
Expand Down
128 changes: 58 additions & 70 deletions api/snapshot.pb.go

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

2 changes: 1 addition & 1 deletion api/snapshot.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ message StoreSnapshot {
// ClusterSnapshot stores cluster membership information in snapshots.
message ClusterSnapshot {
repeated RaftMember members = 1;
repeated uint64 removed = 2;
repeated uint64 removed = 2 [packed=false];
}

message Snapshot {
Expand Down
1 change: 1 addition & 0 deletions api/types.pb.go

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

3 changes: 3 additions & 0 deletions protobuf/plugin/plugin.pb.go

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

2 changes: 1 addition & 1 deletion vendor.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# grpc and protobuf
google.golang.org/grpc v1.0.4
github.com/gogo/protobuf 8d70fb3182befc465c4a1eac8ad4d38ff49778e2
github.com/gogo/protobuf v0.4
github.com/golang/protobuf 8ee79997227bf9b34611aee7946ae64735e6fd93
github.com/matttproud/golang_protobuf_extensions v1.0.0

Expand Down
13 changes: 7 additions & 6 deletions vendor/github.com/gogo/protobuf/Readme.md

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

1 change: 1 addition & 0 deletions vendor/github.com/gogo/protobuf/gogoproto/doc.go

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

Loading

0 comments on commit 998a47f

Please sign in to comment.