message: move autoIdle check ahead of everything else for each environment
diff: @@ -53,6 +53,10 @@ echo "$DEVELOPMENT_ENVIRONMENTS" | jq -c '.data.developmentEnvironments[] | sele
  ENVIRONMENT_AUTOIDLE=$(echo "$environment" | jq -r '.autoIdle')
  echo "$OPENSHIFT_URL - $PROJECT_NAME: handling development environment $ENVIRONMENT_NAME"
  + if [ "$ENVIRONMENT_AUTOIDLE" == "0" ]; then
  + echo "$OPENSHIFT_URL - $PROJECT_NAME: $ENVIRONMENT_NAME idling disabled, skipping"
  + continue
  + else
  # Check if this environment has hits
  HITS=$(curl -s -u "admin:$LOGSDB_ADMIN_PASSWORD" -XGET "http://logs-db:9200/router-logs-$ENVIRONMENT_OPENSHIFT_PROJECTNAME-*/_search" -H 'Content-Type: application/json' -d'
  {
  @@ -70,10 +74,7 @@ echo "$DEVELOPMENT_ENVIRONMENTS" | jq -c '.data.developmentEnvironments[] | sele
  }
  }'| jq ".hits.total")
  - if [ "$ENVIRONMENT_AUTOIDLE" == "0" ]; then
  - echo "$OPENSHIFT_URL - $PROJECT_NAME: $ENVIRONMENT_NAME idling disabled, skipping"
  - continue
  - elif [ ! $? -eq 0 ]; then
  + if [ ! $? -eq 0 ]; then
  echo "$OPENSHIFT_URL - $PROJECT_NAME: $ENVIRONMENT_NAME error checking hits"
  continue
  elif [ "$HITS" == "null" ]; then
  @@ -99,7 +100,7 @@ echo "$DEVELOPMENT_ENVIRONMENTS" | jq -c '.data.developmentEnvironments[] | sele
  oc --insecure-skip-tls-verify --token="$OPENSHIFT_TOKEN" --server="$OPENSHIFT_URL" -n "$ENVIRONMENT_OPENSHIFT_PROJECTNAME" annotate --overwrite endpoints $IDLING_ENDPOINTS "idling.alpha.openshift.io/unidle-targets=${ALL_IDLED_SERVICES_JSON}"
  fi
  fi
  -
  + fi
  fi
  done
  else
  