feat!: remove worker_id from worker message, change msg/cmd to payload
1 files changed, 4 insertions(+), 5 deletions(-) M proto/workercontrol.proto
M proto/workercontrol.proto => proto/workercontrol.proto +4 -5
@@ 8,10 8,9 @@ service WorkerControlService { } message WorkerMessage { string worker_id = 1; oneof msg { RegistrationMessage registration = 2; TargetStateMessage target_state = 3; oneof payload { RegistrationMessage registration = 1; TargetStateMessage target_state = 2; } } @@ 23,7 22,7 @@ message TargetStateMessage { } message ServerCommand { oneof cmd { oneof payload { TargetsCommand targets = 1; } }