fix: add PING enum value to generated protobuf module
The protobuf Elixir module was missing the PING (value 4) enum entry, causing encoding errors when building jobs for agents. Manually added the field since protoc-gen-elixir has asdf version issues. The generated module now matches the updated agent.proto definition. Fixes: ** (Protobuf.EncodeError) no function clause matching in Towerops.Agent.JobType Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
48dc4b852e
commit
039bce3938
1 changed files with 1 additions and 0 deletions
|
|
@ -233,6 +233,7 @@ defmodule Towerops.Agent.JobType do
|
|||
field :POLL, 1
|
||||
field :MIKROTIK, 2
|
||||
field :TEST_CREDENTIALS, 3
|
||||
field :PING, 4
|
||||
end
|
||||
|
||||
defmodule Towerops.Agent.QueryType do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue