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]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
digest = "1:b21a3ea7ad9b920c6d1c2b26d11eba1d2ed4ee5d88b03f20f1efd46a6eaab902"
|
digest = "1:9ef7bffae626f41005f2a2514ade223263b3ba2566baabd257b924bdf5dbb428"
|
||||||
name = "knative.dev/pkg"
|
name = "knative.dev/pkg"
|
||||||
packages = [
|
packages = [
|
||||||
"apis",
|
"apis",
|
||||||
|
@ -959,7 +959,7 @@
|
||||||
"metrics/metricskey",
|
"metrics/metricskey",
|
||||||
]
|
]
|
||||||
pruneopts = "T"
|
pruneopts = "T"
|
||||||
revision = "8c62412074275c22632e23fbe726555bf970ba6c"
|
revision = "79d67498c2c48baf2b8cd114f23cef3f55f91262"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
|
|
@ -47,6 +47,7 @@ aliases:
|
||||||
productivity-approvers:
|
productivity-approvers:
|
||||||
- adrcunha
|
- adrcunha
|
||||||
- chaodaiG
|
- chaodaiG
|
||||||
|
- chizhg
|
||||||
productivity-reviewers:
|
productivity-reviewers:
|
||||||
- adrcunha
|
- adrcunha
|
||||||
- chaodaiG
|
- 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.
|
// ExpectsBody validates that the body of the probe response matches the provided string.
|
||||||
func ExpectsBody(body string) Verifier {
|
func ExpectsBody(body string) Verifier {
|
||||||
return func(r *http.Response, b []byte) (bool, error) {
|
return func(r *http.Response, b []byte) (bool, error) {
|
||||||
|
|
Loading…
Reference in New Issue