Skip to content

Commit 9bf5e8e

Browse files
author
Matthew Fisher
committed
fix(registry): use YAML's nil type
1 parent 250e7cc commit 9bf5e8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

registry/templates/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ common: &common
2626
tags_cache_ttl: _env:MIRROR_TAGS_CACHE_TTL:172800 # seconds
2727

2828
cache:
29-
host: {{ .deis_cache_host }}
30-
port: {{ .deis_cache_port }}
29+
host: {{ or (.deis_cache_host) "~" }}
30+
port: {{ or (.deis_cache_port) "~" }}
3131
password: _env:CACHE_REDIS_PASSWORD
3232
db: 1
3333

0 commit comments

Comments
 (0)