File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ cat jhi-acl.json | sed s/to-change-in-production-client/$CLIENT_ACL_TOKEN/ | cur
17
17
echo " ----------------------------------------------------------------------
18
18
Starting Consul Config Loader in $CONFIG_MODE mode"
19
19
20
- function loadPropertiesFilesIntoConsul {
21
- for file in $CONFIG_DIR /* .yml
20
+ function loadPropertiesFilesIntoConsul {
21
+ for file in $CONFIG_DIR /* ." ${CONFIG_FORMAT :- yml} "
22
22
do
23
23
filename=$( basename $file )
24
24
app=${filename%% .* }
@@ -30,7 +30,7 @@ function loadPropertiesFilesIntoConsul {
30
30
31
31
if [[ " $CONFIG_MODE " == " filesystem" ]]; then
32
32
echo " ----------------------------------------------------------------------
33
- Loading YAML config files in Consul K/V Store from the filesystem
33
+ Loading config files in Consul K/V Store from the filesystem
34
34
Add or edit properties files in '$CONFIG_DIR ' to have them
35
35
automatically reloaded into Consul
36
36
Consul UI: http://$CONSUL_URL :$CONSUL_PORT /ui/#/dc1/kv/config/
You can’t perform that action at this time.
0 commit comments