Skip to content

Commit

Permalink
changed default value
Browse files Browse the repository at this point in the history
Signed-off-by: Eddy Babetto <[email protected]>
  • Loading branch information
eddbbt committed Apr 10, 2024
1 parent 3a874d0 commit 9b30f76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/astarte_vmq_plugin/config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ defmodule Astarte.VMQ.Plugin.Config do
end

def astarte_instance_id do
Application.get_env(:astarte_vmq_plugin, :astarte_instance_id, "default") |> to_string()
Application.get_env(:astarte_vmq_plugin, :astarte_instance_id, "") |> to_string()
end

def device_heartbeat_interval_ms do
Expand Down
3 changes: 2 additions & 1 deletion priv/astarte_vmq_plugin.schema
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
end}.

{mapping, "astarte_vmq_plugin.astarte_instance_id", "astarte_vmq_plugin.astarte_instance_id", [
{default, "default"},
{default, ""},
{datatype, string}
]}.

0 comments on commit 9b30f76

Please sign in to comment.