From ad9cefd1d65c36a9d24ba2fe6648b44a73d74a1a Mon Sep 17 00:00:00 2001 From: Norbert Illes Date: Thu, 25 Feb 2016 15:32:59 +0100 Subject: [PATCH] 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 --- ocf/cinder-schedule | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocf/cinder-schedule b/ocf/cinder-schedule index 56cf581..6ee8fe2 100644 --- a/ocf/cinder-schedule +++ b/ocf/cinder-schedule @@ -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