DEVELOPMENT ENVIRONMENT

~liljamo/emerwen-proto

5d52b9c19a46ca82e0b6504348906f8ef1ed47f1 — Jonni Liljamo 3 hours ago 4a8ac69 master
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;
    }
}