Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[COMMON] Enforce checkbashisms tox profile
[oom.git]
/
kubernetes
/
sdnc
/
components
/
sdnc-prom
/
resources
/
bin
/
prom.sh
diff --git
a/kubernetes/sdnc/components/sdnc-prom/resources/bin/prom.sh
b/kubernetes/sdnc/components/sdnc-prom/resources/bin/prom.sh
index
7764d00
..
6d7ada6
100755
(executable)
--- a/
kubernetes/sdnc/components/sdnc-prom/resources/bin/prom.sh
+++ b/
kubernetes/sdnc/components/sdnc-prom/resources/bin/prom.sh
@@
-1,6
+1,6
@@
-#!/bin/bash
-{{/*
+#!/bin/sh
+{{/*
# Copyright © 2018 Amdocs
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Copyright © 2018 Amdocs
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@
-24,7
+24,7
@@
fi
# should PROM start as passive?
state=$( bin/sdnc.cluster )
# should PROM start as passive?
state=$( bin/sdnc.cluster )
-if [ "$state" =
=
"standby" ]; then
+if [ "$state" = "standby" ]; then
echo "Starting PROM in passive mode"
passive="-p"
fi
echo "Starting PROM in passive mode"
passive="-p"
fi