Fix bashate failure in zuul
Zuul jobs use a recently released version of bashate, which causes tox errors. This patch fixes the whitespace errors to prevent Zuul jobs from failing. Signed-off-by: Davlet Panech <davlet.panech@windriver.com> Change-Id: Icf46eb4cbff7f15392291f06e0628bc7c1798e17
This commit is contained in:
parent
f1460e6d22
commit
2f8f58e041
|
@ -5804,8 +5804,8 @@ function setup_cgts_extend {
|
||||||
local PROVISION_PV_TIMEOUT=180
|
local PROVISION_PV_TIMEOUT=180
|
||||||
|
|
||||||
for DEVICE in "${DEVICES[@]}"; do
|
for DEVICE in "${DEVICES[@]}"; do
|
||||||
# Check if this PV is already in cgts-vg.
|
# Check if this PV is already in cgts-vg.
|
||||||
# Special case: after lab_cleanup we may already have this PV in cgts-vg.
|
# Special case: after lab_cleanup we may already have this PV in cgts-vg.
|
||||||
local CGTS_VG=$(system host-pv-list $NODE ${CLI_NOWRAP} | grep $DEVICE | awk -F'|' '{print $9}')
|
local CGTS_VG=$(system host-pv-list $NODE ${CLI_NOWRAP} | grep $DEVICE | awk -F'|' '{print $9}')
|
||||||
if [[ "${CGTS_VG}" == *"cgts-vg"* ]]; then
|
if [[ "${CGTS_VG}" == *"cgts-vg"* ]]; then
|
||||||
log "Skipping adding device $DEVICE to cgts-vg for ${NODE}; already done"
|
log "Skipping adding device $DEVICE to cgts-vg for ${NODE}; already done"
|
||||||
|
@ -6235,8 +6235,8 @@ function is_https_security_configuration {
|
||||||
if [ "${SYSTEM_HTTPS_ENABLED}" != "${HTTPS_ENABLED}" ]; then
|
if [ "${SYSTEM_HTTPS_ENABLED}" != "${HTTPS_ENABLED}" ]; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
# configuration value in .conf file matches with system show value .
|
# configuration value in .conf file matches with system show value .
|
||||||
# no changes needed.
|
# no changes needed.
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue