Skip to content

Commit d61e29a

Browse files
Remove min_version comments from Capacity fields returned by server (#99)
Removed versioning comments for min_version from the Capacity message and its related messages.
1 parent 34fef4d commit d61e29a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

temporal/api/cloud/namespace/v1/message.proto

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,28 +110,23 @@ message CapacitySpec {
110110
}
111111
}
112112

113-
// temporal:versioning:min_version=v0.10.0
114113
message Capacity {
115114

116-
// temporal:versioning:min_version=v0.10.0
117115
oneof current_mode {
118116
// the current capacity is on-demand
119117
OnDemand on_demand = 1;
120118
// the current capacity is provisioned
121119
Provisioned provisioned = 2;
122120
}
123121

124-
// temporal:versioning:min_version=v0.10.0
125122
message OnDemand {
126123
}
127124

128-
// temporal:versioning:min_version=v0.10.0
129125
message Provisioned {
130126
// the current unit of the provisioned capacity (Temporal Resource Units)
131127
double current_value = 1;
132128
}
133129

134-
// temporal:versioning:min_version=v0.10.0
135130
message Request {
136131
// the current state of the capacity request (e.g. in-progress, completed, failed)
137132
State state = 1;
@@ -144,7 +139,6 @@ message Capacity {
144139
// The requested capacity specification.
145140
CapacitySpec spec = 5;
146141

147-
// temporal:versioning:min_version=v0.10.0
148142
enum State {
149143
STATE_CAPACITY_REQUEST_UNSPECIFIED = 0;
150144
STATE_CAPACITY_REQUEST_COMPLETED = 1;
@@ -154,7 +148,6 @@ message Capacity {
154148
}
155149

156150
// The latest capacity request, if any.
157-
// temporal:versioning:min_version=v0.10.0
158151
Request latest_request = 3;
159152
}
160153

@@ -304,7 +297,6 @@ message Namespace {
304297
map<string, string> tags = 15;
305298

306299
// The capacity of the namespace.
307-
// temporal:versioning:min_version=v0.10.0
308300
Capacity capacity = 16;
309301
}
310302

0 commit comments

Comments
 (0)