mirror of https://github.com/knative/caching.git
Auto-update dependencies (#179)
Produced via: `dep ensure -update knative.dev/test-infra knative.dev/pkg` /assign n3wscott /cc n3wscott
This commit is contained in:
parent
2937c5b31f
commit
1a95d9fc04
|
@ -940,7 +940,7 @@
|
|||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:b21a3ea7ad9b920c6d1c2b26d11eba1d2ed4ee5d88b03f20f1efd46a6eaab902"
|
||||
digest = "1:9ef7bffae626f41005f2a2514ade223263b3ba2566baabd257b924bdf5dbb428"
|
||||
name = "knative.dev/pkg"
|
||||
packages = [
|
||||
"apis",
|
||||
|
@ -959,7 +959,7 @@
|
|||
"metrics/metricskey",
|
||||
]
|
||||
pruneopts = "T"
|
||||
revision = "8c62412074275c22632e23fbe726555bf970ba6c"
|
||||
revision = "79d67498c2c48baf2b8cd114f23cef3f55f91262"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
|
|
@ -47,6 +47,7 @@ aliases:
|
|||
productivity-approvers:
|
||||
- adrcunha
|
||||
- chaodaiG
|
||||
- chizhg
|
||||
productivity-reviewers:
|
||||
- adrcunha
|
||||
- chaodaiG
|
||||
|
|
|
@ -52,6 +52,14 @@ func WithHost(host string) Preparer {
|
|||
}
|
||||
}
|
||||
|
||||
// WithPath sets the path in the probe request.
|
||||
func WithPath(path string) Preparer {
|
||||
return func(r *http.Request) *http.Request {
|
||||
r.URL.Path = path
|
||||
return r
|
||||
}
|
||||
}
|
||||
|
||||
// ExpectsBody validates that the body of the probe response matches the provided string.
|
||||
func ExpectsBody(body string) Verifier {
|
||||
return func(r *http.Response, b []byte) (bool, error) {
|
||||
|
|
Loading…
Reference in New Issue