Fix bashate E001 violations
This commit fixes bashate E001 (lines ending with trailing whitespace) violations in the OCF scripts. Partial-Bug: #1550203 Change-Id: I9ed3a5012509d85463098b3489641f67cfa69eac Signed-off-by: Norbert Illes <norbert.e.illes@ericsson.com>
This commit is contained in:
parent
6ad8eb01ae
commit
ad9cefd1d6
@ -151,7 +151,7 @@ cinder_scheduler_check_port() {
|
||||
|
||||
local int
|
||||
local cnt
|
||||
|
||||
|
||||
int="$1"
|
||||
cnt=${#int}
|
||||
echo $int |egrep -qx '[0-9]+(:[0-9]+)?(,[0-9]+(:[0-9]+)?)*'
|
||||
@ -168,7 +168,7 @@ cinder_scheduler_validate() {
|
||||
check_binary $OCF_RESKEY_binary
|
||||
check_binary netstat
|
||||
cinder_scheduler_check_port $OCF_RESKEY_amqp_server_port
|
||||
|
||||
|
||||
# A config file on shared storage that is not available
|
||||
# during probes is OK.
|
||||
if [ ! -f $OCF_RESKEY_config ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user