X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fopenstack-cleanup-orphaned-ports.sh;h=080b5907c50a839c6953b5237f35430d039538e0;hb=5beb45586451cb772982de881cd09fd97360be87;hp=3030fdf2ec78a36c78d7118cb175ef8ce3629477;hpb=61dc9c129cc8bf0618b03d543c406e5dc1f12e61;p=releng%2Fglobal-jjb.git diff --git a/shell/openstack-cleanup-orphaned-ports.sh b/shell/openstack-cleanup-orphaned-ports.sh index 3030fdf2..080b5907 100644 --- a/shell/openstack-cleanup-orphaned-ports.sh +++ b/shell/openstack-cleanup-orphaned-ports.sh @@ -16,12 +16,12 @@ os_cloud="${OS_CLOUD:-vex}" set -eux -o pipefail mapfile -t os_ports_ts < <(openstack --os-cloud "$os_cloud" port list \ - -f value \ - -c ID \ - -c status \ - -c created_at \ - | grep -E DOWN \ - | awk -F' ' '{print $1 " " $3}') + -f value \ + -c ID \ + -c status \ + -c created_at \ + | grep -E DOWN \ + | awk -F' ' '{print $1 " " $3}') if [ ${#os_ports_ts[@]} -eq 0 ]; then echo "No orphaned ports found."