File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
proto/frequenz/api/dispatch Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 22
33- The field ` create_time ` has been removed from update requests.
44- An ` update_time ` field has been added to the Dispatch object.
5+ - The ` type ` field has been removed from update requests, to prevent it from being modified after creation.
Original file line number Diff line number Diff line change @@ -185,27 +185,24 @@ message DispatchUpdateRequest {
185185 // The microgrid identifier
186186 optional uint64 microgrid_id = 2 ;
187187
188- // The type of dispatch
189- optional string type = 3 ;
190-
191188 // The start time
192189 // When updating a dispatch, ensure that the starting timestamp is set to
193190 // the current time or any future time.
194191 // Timestamps earlier than the current time are not allowed.
195- google.protobuf.Timestamp start_time = 4 ;
192+ google.protobuf.Timestamp start_time = 3 ;
196193
197194 // The end time
198- google.protobuf.Timestamp end_time = 5 ;
195+ google.protobuf.Timestamp end_time = 4 ;
199196
200197 // The component selector
201- DispatchComponentSelector selector = 6 ;
198+ DispatchComponentSelector selector = 5 ;
202199
203200 // The "active" status
204- optional bool is_active = 7 ;
201+ optional bool is_active = 6 ;
205202
206203 // The "dry run" status
207- optional bool is_dry_run = 8 ;
204+ optional bool is_dry_run = 7 ;
208205
209206 // The dispatch payload
210- google.protobuf.Struct payload = 9 ;
207+ google.protobuf.Struct payload = 8 ;
211208}
You can’t perform that action at this time.
0 commit comments