mirror of https://github.com/knative/caching.git
Auto-update dependencies (#108)
Produced via: `dep ensure -update knative.dev/test-infra knative.dev/pkg` /assign mattmoor
This commit is contained in:
parent
cbe51777e2
commit
fac9d81895
|
@ -927,7 +927,7 @@
|
|||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:6e410a2318808cce9fd9fcdc5c1821b96b89ad1cbe17251c9915c3c4da1b27fe"
|
||||
digest = "1:df09f3d61be3d2702987a5079c79c652bf02428be6c7836f9865081039fcb86a"
|
||||
name = "knative.dev/pkg"
|
||||
packages = [
|
||||
"apis",
|
||||
|
@ -946,7 +946,7 @@
|
|||
"metrics/metricskey",
|
||||
]
|
||||
pruneopts = "T"
|
||||
revision = "d90ec6a0150ac99846556d88d5a54093418ec2a7"
|
||||
revision = "25b6d3af4d224e425b8a28cc9e256819eca2e959"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
@ -957,7 +957,7 @@
|
|||
"tools/dep-collector",
|
||||
]
|
||||
pruneopts = "UT"
|
||||
revision = "baf7e79986726748f7b36aa8f31f8bbfaa8717b6"
|
||||
revision = "0496d5ca277c0826349264be609cb0bdf8ad5b64"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:8730e0150dfb2b7e173890c8b9868e7a273082ef8e39f4940e3506a481cf895c"
|
||||
|
|
|
@ -54,7 +54,6 @@ aliases:
|
|||
- adrcunha
|
||||
- chaodaiG
|
||||
- coryrc
|
||||
- dushyanthsc
|
||||
- Fredy-Z
|
||||
- srinivashegde86
|
||||
- steuhs
|
||||
|
|
|
@ -112,6 +112,7 @@ func New(
|
|||
}
|
||||
|
||||
// Spoof the hostname at the resolver level
|
||||
logf("Spoofing %s -> %s", domain, endpoint)
|
||||
transport := &http.Transport{
|
||||
DialContext: func(ctx context.Context, network, addr string) (conn net.Conn, e error) {
|
||||
spoofed := addr
|
||||
|
@ -119,7 +120,6 @@ func New(
|
|||
// The original hostname:port is spoofed by replacing the hostname by the value
|
||||
// returned by ResolveEndpoint.
|
||||
spoofed = endpoint + ":" + addr[i+1:]
|
||||
logf("Spoofing %s -> %s", addr, spoofed)
|
||||
}
|
||||
return dialContext(ctx, network, spoofed)
|
||||
},
|
||||
|
|
|
@ -320,7 +320,7 @@ func (gc *GKECluster) Acquire() error {
|
|||
}
|
||||
// Retry another region if cluster creation failed.
|
||||
// TODO(chaodaiG): catch specific errors as we know what the error look like for stockout etc.
|
||||
if len(regions) != i+1 {
|
||||
if i != len(regions)-1 {
|
||||
errMsg = fmt.Sprintf("%sRetry another region %q for cluster creation", errMsg, regions[i+1])
|
||||
}
|
||||
log.Printf(errMsg)
|
||||
|
@ -430,8 +430,6 @@ func (gc *GKECluster) wait(location, opName string, wait time.Duration) error {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
// ensureProtected ensures not operating on protected project/cluster
|
||||
|
|
Loading…
Reference in New Issue