Skip to content

Commit a50b566

Browse files
Rename settings field to payload
Make it clearer that this field contains some arbitrary data from the API's POV. Signed-off-by: Stefan Brus <[email protected]>
1 parent 0c00322 commit a50b566

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

proto/frequenz/api/dispatch/dispatch.proto

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ message Dispatch {
158158
// The dispatch status
159159
DispatchStatus status = 8;
160160

161-
// The dispatch settings
162-
google.protobuf.Struct settings = 9;
161+
// The dispatch payload
162+
google.protobuf.Struct payload = 9;
163163
}
164164

165165
// A list of dispatches
@@ -188,8 +188,8 @@ message DispatchCreateRequest {
188188
// The dispatch status
189189
DispatchStatus status = 6;
190190

191-
// The dispatch settings
192-
google.protobuf.Struct settings = 7;
191+
// The dispatch payload
192+
google.protobuf.Struct payload = 7;
193193
}
194194

195195
// Message to update the dispatch with the given ID, with the given attributes
@@ -218,6 +218,6 @@ message DispatchUpdateRequest {
218218
// The dispatch status
219219
optional DispatchStatus status = 8;
220220

221-
// The dispatch settings
222-
optional google.protobuf.Struct settings = 9;
221+
// The dispatch payload
222+
optional google.protobuf.Struct payload = 9;
223223
}

0 commit comments

Comments
 (0)