diff --git a/hack/e2e-suite/monitoring.sh b/hack/e2e-suite/monitoring.sh index d999af4fda3..1b1c3cc3ee3 100755 --- a/hack/e2e-suite/monitoring.sh +++ b/hack/e2e-suite/monitoring.sh @@ -59,7 +59,7 @@ function setup { function cleanup { "${KUBECTL}" stop rc monitoring-influx-grafana-controller &> /dev/null || true "${KUBECTL}" stop rc monitoring-heapster-controller &> /dev/null || true -r "${KUBECTL}" delete -f "${MONITORING}/" &> /dev/null || true + "${KUBECTL}" delete -f "${MONITORING}/" &> /dev/null || true # This only has work to do on gce and gke if [[ "${KUBERNETES_PROVIDER}" == "gce" ]] || [[ "${KUBERNETES_PROVIDER}" == "gke" ]]; then