Skip to content

Commit 7ffb609

Browse files
Clarify start_time documentation
Signed-off-by: Stefan Brus <[email protected]>
1 parent ba72d4c commit 7ffb609

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

proto/frequenz/api/dispatch/dispatch.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ message DispatchCreateRequest {
156156
string type = 2;
157157

158158
// The start time
159+
// When creating a dispatch, ensure that the starting timestamp is set to
160+
// the current time or any future time.
161+
// Timestamps earlier than the current time are not allowed.
159162
google.protobuf.Timestamp start_time = 3;
160163

161164
// The end time
@@ -186,6 +189,9 @@ message DispatchUpdateRequest {
186189
optional string type = 3;
187190

188191
// The start time
192+
// When updating a dispatch, ensure that the starting timestamp is set to
193+
// the current time or any future time.
194+
// Timestamps earlier than the current time are not allowed.
189195
google.protobuf.Timestamp start_time = 4;
190196

191197
// The end time

0 commit comments

Comments
 (0)