UPSTREAM: <carry>: Disable excessive success logging in HTTP checking
The e2e tests that use this method don't need to report success, only failure.
This removes thousands of pointless lines of output from specific e2e tests that
use this framework.
This carry was lost during rebase to 1.14 because the method was refactored.
@@ -27,7 +27,7 @@ import (
"time"
. "github.com/onsi/ginkgo"
- "k8s.io/api/core/v1"
+ v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/util/intstr"
@@ -824,7 +824,8 @@ func PokeHTTP(host string, port int, path string, params *HTTPPokeParams) HTTPPo
}
ret.Status = HTTPSuccess
- Logf("Poke(%q): success", url)
+ // causes excessive logging that provides no value
+ // Logf("Poke(%q): success", url)
return ret
}
