diff --git a/go.mod b/go.mod index 68087ccdb..effd6a6b0 100644 --- a/go.mod +++ b/go.mod @@ -13,10 +13,10 @@ require ( k8s.io/api v0.18.8 k8s.io/apimachinery v0.19.0 k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible - knative.dev/eventing v0.18.1-0.20201105172507-a6fc5408cb44 + knative.dev/eventing v0.18.1-0.20201109181109-b30b4f76cc59 knative.dev/hack v0.0.0-20201103151104-3d5abc3a0075 knative.dev/pkg v0.0.0-20201103163404-5514ab0c1fdf - knative.dev/serving v0.18.1-0.20201106011207-d0773356e613 + knative.dev/serving v0.18.1-0.20201110011758-db4879e0f615 ) replace ( diff --git a/go.sum b/go.sum index ea6b99756..8292915d3 100644 --- a/go.sum +++ b/go.sum @@ -1243,8 +1243,8 @@ k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89/go.mod h1:sZAwmy6armz5eXlNoLmJcl k8s.io/utils v0.0.0-20200603063816-c1c6865ac451 h1:v8ud2Up6QK1lNOKFgiIVrZdMg7MpmSnvtrOieolJKoE= k8s.io/utils v0.0.0-20200603063816-c1c6865ac451/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= knative.dev/caching v0.0.0-20201104174804-1a305923cfbe/go.mod h1:twy5Yz5LtFbmihtbBG0CcgwJzV5d8RUBoGkZFs7uRQs= -knative.dev/eventing v0.18.1-0.20201105172507-a6fc5408cb44 h1:vgz108o3Br0WfDysXMSD10lcVOl1ZIjkDQa8uFyaeq0= -knative.dev/eventing v0.18.1-0.20201105172507-a6fc5408cb44/go.mod h1:jwhDgDvoscWE4jWF8cXh7yHfxJcK0mTawVKVfrSjnvg= +knative.dev/eventing v0.18.1-0.20201109181109-b30b4f76cc59 h1:VvLpXvop4feLh8lKhJ6+WsS7Q/domYs7ZqPsufS9NnU= +knative.dev/eventing v0.18.1-0.20201109181109-b30b4f76cc59/go.mod h1:jwhDgDvoscWE4jWF8cXh7yHfxJcK0mTawVKVfrSjnvg= knative.dev/hack v0.0.0-20201102193445-9349aeeb6701/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= knative.dev/hack v0.0.0-20201103151104-3d5abc3a0075 h1:YAgWplKIy4O5e3F5vUUECmXAAyZ0M5ymo6fCt1jeZhs= knative.dev/hack v0.0.0-20201103151104-3d5abc3a0075/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= @@ -1253,8 +1253,8 @@ knative.dev/networking v0.0.0-20201103163404-b9f80f4537af/go.mod h1:0OaR4FLbs3Xn knative.dev/pkg v0.0.0-20201103150904-7f1970af5b6f/go.mod h1:2hMxAUviPH2nl3BuODx5L6shYCdzA+7SPzQpdkcg9wc= knative.dev/pkg v0.0.0-20201103163404-5514ab0c1fdf h1:QwULgRwcv6R3Ya1GZlf/E1atcaGUNw4DKjxSQUfcR6U= knative.dev/pkg v0.0.0-20201103163404-5514ab0c1fdf/go.mod h1:cuKOgUvJvnWHIps/apCXX8wZuMlT0dyMZLqRQfsENbQ= -knative.dev/serving v0.18.1-0.20201106011207-d0773356e613 h1:lt0Mx0mIuShdIrjVmjiI2axahH3r2jk0bdQaywYFiCo= -knative.dev/serving v0.18.1-0.20201106011207-d0773356e613/go.mod h1:G5FVEbwcHKLvf8XTr6XEVqLd3tn31JX8vGFEI8kdYlk= +knative.dev/serving v0.18.1-0.20201110011758-db4879e0f615 h1:HSJGCLfPOgXLa6gsmmDSqWY6/lg9rYaTkyc+IsJVsPQ= +knative.dev/serving v0.18.1-0.20201110011758-db4879e0f615/go.mod h1:G5FVEbwcHKLvf8XTr6XEVqLd3tn31JX8vGFEI8kdYlk= pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= diff --git a/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_lifecycle.go b/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_lifecycle.go index 85089e9ae..fac3cd359 100644 --- a/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_lifecycle.go +++ b/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_lifecycle.go @@ -123,12 +123,16 @@ func (rs *RevisionStatus) MarkContainerHealthyTrue() { // MarkContainerHealthyFalse marks ContainerHealthy status on revision as False func (rs *RevisionStatus) MarkContainerHealthyFalse(reason, message string) { - revisionCondSet.Manage(rs).MarkFalse(RevisionConditionContainerHealthy, reason, message) + // We escape here, because errors sometimes contain `%` and that makes the error message + // quite poor. + revisionCondSet.Manage(rs).MarkFalse(RevisionConditionContainerHealthy, reason, "%s", message) } // MarkContainerHealthyUnknown marks ContainerHealthy status on revision as Unknown func (rs *RevisionStatus) MarkContainerHealthyUnknown(reason, message string) { - revisionCondSet.Manage(rs).MarkUnknown(RevisionConditionContainerHealthy, reason, message) + // We escape here, because errors sometimes contain `%` and that makes the error message + // quite poor. + revisionCondSet.Manage(rs).MarkUnknown(RevisionConditionContainerHealthy, reason, "%s", message) } // MarkResourcesAvailableTrue marks ResourcesAvailable status on revision as True diff --git a/vendor/modules.txt b/vendor/modules.txt index 063b5e762..748f93aa5 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -901,7 +901,7 @@ k8s.io/utils/buffer k8s.io/utils/integer k8s.io/utils/pointer k8s.io/utils/trace -# knative.dev/eventing v0.18.1-0.20201105172507-a6fc5408cb44 +# knative.dev/eventing v0.18.1-0.20201109181109-b30b4f76cc59 ## explicit knative.dev/eventing/pkg/adapter/v2 knative.dev/eventing/pkg/adapter/v2/test @@ -1065,7 +1065,7 @@ knative.dev/pkg/webhook/psbinding knative.dev/pkg/webhook/resourcesemantics knative.dev/pkg/webhook/resourcesemantics/defaulting knative.dev/pkg/webhook/resourcesemantics/validation -# knative.dev/serving v0.18.1-0.20201106011207-d0773356e613 +# knative.dev/serving v0.18.1-0.20201110011758-db4879e0f615 ## explicit knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1