Skip to content

Commit

Permalink
packages: change settings template for Bootstrap containers
Browse files Browse the repository at this point in the history
We need to make source and mode optional.
  • Loading branch information
vyaghras committed Jan 31, 2025
1 parent 472ccd6 commit 90e8b3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/os/bootstrap-containers-toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ std = { version = "v1", helpers = ["if_not_null"] }
{{#if_not_null settings.bootstrap-containers}}
{{#each settings.bootstrap-containers}}
["{{@key}}"]
{{#if_not_null this.source}}
source = "{{{this.source}}}"
{{/if_not_null}}
{{#if_not_null this.mode}}
mode = "{{{this.mode}}}"
{{/if_not_null}}
{{#if_not_null this.user-data}}
user-data = "{{{this.user-data}}}"
{{/if_not_null}}
Expand Down

0 comments on commit 90e8b3f

Please sign in to comment.