Skip to content

Commit

Permalink
fix: use lowercase for bool env vars in cardano-node
Browse files Browse the repository at this point in the history
  • Loading branch information
agaffney committed Oct 21, 2024
1 parent c0e7aa7 commit 700ab97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/cardano_node/tasks/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
- '{{ cardano_node_port }}:{{ cardano_node_container_port }}'
- '{{ cardano_node_metrics_port }}:{{ cardano_node_metrics_container_port }}'
env:
CARDANO_BLOCK_PRODUCER: '{{ cardano_node_block_producer | string }}'
CARDANO_BLOCK_PRODUCER: '{{ "true" if (cardano_node_block_producer | bool) else "false" }}'
CARDANO_CONFIG: '{{ cardano_node_config_file }}'
CARDANO_DATABASE_PATH: '{{ cardano_node_db_container_dir }}'
CARDANO_NETWORK: '{{ cardano_node_network }}'
Expand All @@ -58,6 +58,6 @@
CARDANO_SHELLEY_VRF_KEY: '{{ cardano_node_shelley_vrf_key }}'
CARDANO_SOCKET_PATH: '{{ cardano_node_ipc_container_dir }}/{{ cardano_node_socket_name }}'
CARDANO_TOPOLOGY: '{{ cardano_node_topology_file }}'
RESTORE_SNAPSHOT: '{{ cardano_node_restore_snapshot | string }}'
RESTORE_SNAPSHOT: '{{ "true" if (cardano_node_restore_snapshot | bool) else "false" }}'
SNAPSHOT_DIGEST: '{{ cardano_node_snapshot_digest }}'
volumes: '{{ cardano_node_docker_volumes | list }}'

0 comments on commit 700ab97

Please sign in to comment.