diff --git a/go.mod b/go.mod index 6ee7ac0b3fc8..0dcef48948dd 100644 --- a/go.mod +++ b/go.mod @@ -154,4 +154,4 @@ require ( sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect ) -replace knative.dev/pkg => github.com/mgencur/pkg v0.0.0-20231011065741-551d95b46beb +replace knative.dev/pkg => github.com/mgencur/pkg v0.0.0-20231011073333-7e238a11a09e diff --git a/go.sum b/go.sum index 5f93de20804f..6c3e3ff01257 100644 --- a/go.sum +++ b/go.sum @@ -382,8 +382,8 @@ github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Ky github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/mgencur/pkg v0.0.0-20231011065741-551d95b46beb h1:xsWyrcypJB4lW43a4x70vYn6AzT86M5zPv7FTPq/zTA= -github.com/mgencur/pkg v0.0.0-20231011065741-551d95b46beb/go.mod h1:PxnS8ZnVtC0S+An+NEhrpzWt6k9hedDNt659Gu5EtJk= +github.com/mgencur/pkg v0.0.0-20231011073333-7e238a11a09e h1:LVIuJPI4zZrf9L8DpDivMQ67kT9W+qV2TCozej7gCoo= +github.com/mgencur/pkg v0.0.0-20231011073333-7e238a11a09e/go.mod h1:PxnS8ZnVtC0S+An+NEhrpzWt6k9hedDNt659Gu5EtJk= github.com/miekg/dns v1.1.55 h1:GoQ4hpsj0nFLYe+bWiCToyrBEJXkQfOOIvFGFy0lEgo= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= diff --git a/vendor/knative.dev/pkg/test/shell/executor.go b/vendor/knative.dev/pkg/test/shell/executor.go index f347321ad715..bc2213f83fdc 100644 --- a/vendor/knative.dev/pkg/test/shell/executor.go +++ b/vendor/knative.dev/pkg/test/shell/executor.go @@ -43,8 +43,7 @@ func NewExecutor(config ExecutorConfig) Executor { } } -// TestingTStreams returns Streams which writes to t.Log and marks -// the test as failed if anything is written to Streams.Err. +// TestingTStreams returns Streams which writes to test log. func TestingTStreams(t TestingT) Streams { tWriter := testingWriter{t: t} return Streams{ diff --git a/vendor/knative.dev/pkg/test/shell/types.go b/vendor/knative.dev/pkg/test/shell/types.go index fb6e2a19acdd..94a4a792d088 100644 --- a/vendor/knative.dev/pkg/test/shell/types.go +++ b/vendor/knative.dev/pkg/test/shell/types.go @@ -51,7 +51,7 @@ type TestingT interface { Logf(format string, args ...any) } -// testingWriter writes to the given testing.TB. +// testingWriter implements io.Writer and writes to given testing.T log. type testingWriter struct { t TestingT } diff --git a/vendor/modules.txt b/vendor/modules.txt index 4f69339b2d9b..8c984b1ef464 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1339,7 +1339,7 @@ knative.dev/networking/pkg/http/stats knative.dev/networking/pkg/ingress knative.dev/networking/pkg/k8s knative.dev/networking/pkg/prober -# knative.dev/pkg v0.0.0-20231010144348-ca8c009405dd => github.com/mgencur/pkg v0.0.0-20231011065741-551d95b46beb +# knative.dev/pkg v0.0.0-20231010144348-ca8c009405dd => github.com/mgencur/pkg v0.0.0-20231011073333-7e238a11a09e ## explicit; go 1.18 knative.dev/pkg/apiextensions/storageversion knative.dev/pkg/apiextensions/storageversion/cmd/migrate @@ -1469,4 +1469,4 @@ sigs.k8s.io/structured-merge-diff/v4/value # sigs.k8s.io/yaml v1.3.0 ## explicit; go 1.12 sigs.k8s.io/yaml -# knative.dev/pkg => github.com/mgencur/pkg v0.0.0-20231011065741-551d95b46beb +# knative.dev/pkg => github.com/mgencur/pkg v0.0.0-20231011073333-7e238a11a09e