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