Skip to content

Commit 89de32d

Browse files
Update documentation for origin_time field in proto files
Signed-off-by: Tiyash Basu <[email protected]> # Conflicts: # proto/frequenz/api/common/v1/microgrid/electrical_components/electrical_components.proto
1 parent badade0 commit 89de32d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

proto/frequenz/api/common/v1/microgrid/communication_components/communication_components.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ message CommunicationComponentDiagnostic {
173173
// in time, so there is only a single `snapshot_time`. any parallel reads
174174
// happening to produce this data are collapsed under that timestamp.
175175
message CommunicationComponentStateSnapshot {
176-
// the UTC time when this snapshot was taken.
176+
// The UTC time when the state was originally captured.
177177
google.protobuf.Timestamp snapshot_time = 1;
178178

179179
// one or more high-level state codes active at snapshot_time.

proto/frequenz/api/common/v1/microgrid/electrical_components/electrical_components.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ message ElectricalComponentDiagnostic {
475475

476476
// Representation of a component state, warnings, and errors.
477477
message ElectricalComponentStateSnapshot {
478-
// The time at which the state was sampled.
478+
// The UTC time when the state was originally captured.
479479
google.protobuf.Timestamp origin_time = 1;
480480

481481

proto/frequenz/api/common/v1/microgrid/sensors/sensors.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ message SensorDiagnostic {
169169

170170
// Representation of a sensor state and errors.
171171
message SensorStateSnapshot {
172-
// The time at which the state was sampled.
172+
// The UTC time when the state was originally captured.
173173
google.protobuf.Timestamp origin_time = 1;
174174

175175
// List of states of the microgrid sensor.

0 commit comments

Comments
 (0)