Auto-update dependencies (#189)

Produced via:
  `dep ensure -update knative.dev/test-infra knative.dev/pkg`
/assign n3wscott
/cc n3wscott
This commit is contained in:
Matt Moore 2020-01-27 07:36:26 -08:00 committed by Knative Prow Robot
parent e111e2aca4
commit 7c4df95b41
2 changed files with 6 additions and 6 deletions

6
Gopkg.lock generated
View File

@ -966,7 +966,7 @@
[[projects]]
branch = "master"
digest = "1:58629d6925d6d46c36a962612e40ed0accf8cd74f8cf6675517d44c6589c8827"
digest = "1:92b7055a014502a4b66d16ddc846de570f2d42ebdf9e6dfdc1b6eb2efc573294"
name = "knative.dev/pkg"
packages = [
"apis",
@ -985,7 +985,7 @@
"metrics/metricskey",
]
pruneopts = "T"
revision = "62801f1d34cf8cf71e45f6c398a9a095a74db637"
revision = "5ff923b836abcbeb6ac3ff2784db0d5b5786ade2"
[[projects]]
branch = "master"
@ -996,7 +996,7 @@
"tools/dep-collector",
]
pruneopts = "UT"
revision = "dfeb254e57938f9e30b179034e9833e196ec899f"
revision = "b0c4c4e1691282f24ccb3b5b0399952bf086edfc"
[[projects]]
digest = "1:8730e0150dfb2b7e173890c8b9868e7a273082ef8e39f4940e3506a481cf895c"

View File

@ -108,12 +108,12 @@ func (source *Status) ConvertTo(ctx context.Context, sink *Status, predicates ..
conditions := make(apis.Conditions, 0, len(source.Conditions))
for _, c := range source.Conditions {
switch c.Type {
// Copy over the "happy" condition, which is the only condition that
// we can reliably transfer.
case apis.ConditionReady, apis.ConditionSucceeded:
if c.Type == apis.ConditionReady || c.Type == apis.ConditionSucceeded {
conditions = append(conditions, c)
break
continue
}
for _, predicate := range predicates {