Skip to content

Commit

Permalink
change hash to uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislusf committed Jan 17, 2016
1 parent 46fdf43 commit 669b0bc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
28 changes: 14 additions & 14 deletions driver/cmd/control_message.pb.go

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

12 changes: 6 additions & 6 deletions driver/cmd/control_message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ message StartRequest {
repeated string envs = 3;
required string dir = 4;
required ComputeResource resource = 5;
required int32 hashCode = 6;
required uint32 hashCode = 6;
optional string host = 7;
optional int32 port = 8;
}
Expand All @@ -61,16 +61,16 @@ message StartResponse {
}

message StopRequest {
required int32 startRequestHash = 1;
required uint32 startRequestHash = 1;
}

message StopResponse {
required int32 startRequestHash = 1;
required uint32 startRequestHash = 1;
optional string error = 2;
}

message GetStatusRequest {
required int32 startRequestHash = 1;
required uint32 startRequestHash = 1;
}

message ChannelStatus {
Expand All @@ -80,7 +80,7 @@ message ChannelStatus {
}

message GetStatusResponse {
required int32 startRequestHash = 1;
required uint32 startRequestHash = 1;
optional string error = 2;
repeated ChannelStatus inputStatuses = 3;
optional ChannelStatus outputStatus = 4;
Expand All @@ -98,7 +98,7 @@ message DeleteDatasetShardResponse {
}

message LocalStatusReportRequest {
required int32 startRequestHash = 1;
required uint32 startRequestHash = 1;
optional string error = 2;
repeated ChannelStatus inputStatuses = 3;
optional ChannelStatus outputStatus = 4;
Expand Down

0 comments on commit 669b0bc

Please sign in to comment.