Skip to content

Commit

Permalink
Quotes for CONFIG_API_VIP / ANALYTICS_API_VIP
Browse files Browse the repository at this point in the history
Change-Id: Id2e85d7eb3945193415d1d34a8f5788fec6c5c48
Closes-Bug: #1775513
  • Loading branch information
alexey-mr committed Jun 22, 2018
1 parent aa277d3 commit 6e95ba1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions containers/controller/webui/base/entrypoint.sh
Expand Up @@ -35,6 +35,10 @@ function set_to_lower() {
eval "${1}=$val"
}

# add quotes
[ -n "${CONFIG_API_VIP}" ] && CONFIG_API_VIP="'"${CONFIG_API_VIP}"'"
[ -n "${ANALYTICS_API_VIP}" ] && ANALYTICS_API_VIP="'"${ANALYTICS_API_VIP}"'"

# convert to lower
set_to_lower orchestrationModuleEndPointFromConfig false
set_to_lower contrailEndPointFromConfig true
Expand Down

0 comments on commit 6e95ba1

Please sign in to comment.