Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[SDC] Add chart for helm-validator microservice"
[oom.git]
/
kubernetes
/
appc
/
resources
/
config
/
appc
/
opt
/
onap
/
appc
/
bin
/
startODL.sh
diff --git
a/kubernetes/appc/resources/config/appc/opt/onap/appc/bin/startODL.sh
b/kubernetes/appc/resources/config/appc/opt/onap/appc/bin/startODL.sh
index
25a5c31
..
2fd6db1
100755
(executable)
--- a/
kubernetes/appc/resources/config/appc/opt/onap/appc/bin/startODL.sh
+++ b/
kubernetes/appc/resources/config/appc/opt/onap/appc/bin/startODL.sh
@@
-30,7
+30,7
@@
#set -x
*/}}
#set -x
*/}}
-
function enable_odl_cluster()
{
+
enable_odl_cluster ()
{
if [ -z $APPC_REPLICAS ]; then
echo "APPC_REPLICAS is not configured in Env field"
exit
if [ -z $APPC_REPLICAS ]; then
echo "APPC_REPLICAS is not configured in Env field"
exit
@@
-83,7
+83,7
@@
then
show databases like 'sdnctl';
END
)
show databases like 'sdnctl';
END
)
- if [ "x${sdnc_db_exists}" =
=
"x" ]
+ if [ "x${sdnc_db_exists}" = "x" ]
then
echo "Installing SDNC database"
${SDNC_HOME}/bin/installSdncDb.sh
then
echo "Installing SDNC database"
${SDNC_HOME}/bin/installSdncDb.sh
@@
-92,7
+92,7
@@
END
show databases like 'appcctl';
END
)
show databases like 'appcctl';
END
)
- if [ "x${appc_db_exists}" =
=
"x" ]
+ if [ "x${appc_db_exists}" = "x" ]
then
echo "Installing APPC database"
${APPC_HOME}/bin/installAppcDb.sh
then
echo "Installing APPC database"
${APPC_HOME}/bin/installAppcDb.sh