Skip to content

Commit 25d97fd

Browse files
Change description of the EndCriteria.until field.
To point out that duration doesn't count into that timestamp. Signed-off-by: Elzbieta Kotulska <[email protected]>
1 parent 66c21eb commit 25d97fd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ In this release, we have made some changes to the API to improve the user experi
1212
* Naming conventions were updated to match API projects.
1313
* The possibility to update the `dry_run` and `type` fields was removed.
1414
* The ComponentSelector now can contain multiple component categories.
15+
* Improve description of the `EndCriteria.until` field.
1516

1617
## New Features
1718

proto/frequenz/api/dispatch/v1/dispatch.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,10 @@ message RecurrenceRule {
416416
uint32 count = 1;
417417

418418
// The end time of this dispatch in UTC.
419-
// If this field is set, the dispatch will recur until the given timestamp.
419+
// If this field is set, the last recurrence event will start before this
420+
// timestamp.
421+
// Note that the duration of the event is not considered in this value,
422+
// so the dispatch may end after the timestamp.
420423
google.protobuf.Timestamp until = 2;
421424
}
422425
}

0 commit comments

Comments
 (0)