Fix bashate E010 violation

This commit fixes a bashate E010 violation:

[E] E010: The "do" should be on same line as for: '        for i in `ps -o pid --no-headers --ppid $pid`'
 - /home/adam/SUSE/cloud/OpenStack/git/openstack-resource-agents/ocf/cinder-volume : L219

Change-Id: I25b6e05336b1679818ad6f876bf94679a6d5ac10
Partial-Bug: #1550203
Signed-off-by: Adam Spiers <aspiers@suse.com>
This commit is contained in:
Adam Spiers 2016-02-27 14:06:26 +00:00
parent 173a77cec8
commit 1d019f5f73
1 changed files with 1 additions and 2 deletions

View File

@ -216,8 +216,7 @@ cinder_volume_monitor() {
if ocf_is_true "$OCF_RESKEY_multibackend"; then
# Grab the child's PIDs
for i in `ps -o pid --no-headers --ppid $pid`
do
for i in `ps -o pid --no-headers --ppid $pid`; do
volume_amqp_check=`netstat -punt | grep -s "$OCF_RESKEY_amqp_server_port" | grep -s "$i" | grep -qs "ESTABLISHED"`
rc=$?
if [ $rc -ne 0 ]; then