Skip to content

Commit

Permalink
parse flag as bool
Browse files Browse the repository at this point in the history
Signed-off-by: Connor Smith <[email protected]>
  • Loading branch information
connorsmith256 committed Mar 8, 2023
1 parent f16169a commit ca054cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion host_core/lib/host_core/vhost/config_plan.ex
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ defmodule HostCore.Vhost.ConfigPlan do
{:js_domain, "WASMCLOUD_JS_DOMAIN", required: false},
{:config_service_enabled, "WASMCLOUD_CONFIG_SERVICE",
required: false, map: &string_to_bool/1},
{:enable_structured_logging, "WASMCLOUD_STRUCTURED_LOGGING_ENABLED", required: false},
{:enable_structured_logging, "WASMCLOUD_STRUCTURED_LOGGING_ENABLED",
required: false, map: &string_to_bool/1},
{:structured_log_level, "WASMCLOUD_STRUCTURED_LOG_LEVEL",
required: false, map: &string_to_loglevel/1},
{:enable_ipv6, "WASMCLOUD_ENABLE_IPV6", required: false, map: &string_to_bool/1},
Expand Down

0 comments on commit ca054cf

Please sign in to comment.