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:
Graham McIntire 2026-02-08 13:49:07 -06:00
parent 48dc4b852e
commit 039bce3938
No known key found for this signature in database

View file

@ -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