Skip to content

Commit

Permalink
upgrade to latest dependencies (#622)
Browse files Browse the repository at this point in the history
bumping knative.dev/pkg 4857ab6...a49a60e:
  > a49a60e [release-0.26] Add IsNum to true when set `-0` to minimumVersion.Pre (# 2290)

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored Sep 17, 2021
1 parent 6016854 commit 9417296
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ require (
k8s.io/client-go v0.21.4
knative.dev/hack v0.0.0-20210806075220-815cd312d65c
knative.dev/networking v0.0.0-20210914225408-69ad45454096
knative.dev/pkg v0.0.0-20210914164111-4857ab6939e3
knative.dev/pkg v0.0.0-20210917133632-a49a60e62603
sigs.k8s.io/yaml v1.2.0
)
3 changes: 2 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1349,8 +1349,9 @@ knative.dev/hack v0.0.0-20210806075220-815cd312d65c h1:nOXoDWAAItwr4o0dp3nHr6skg
knative.dev/hack v0.0.0-20210806075220-815cd312d65c/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
knative.dev/networking v0.0.0-20210914225408-69ad45454096 h1:Zo8WfetGtm4YPtex9Wo5FQbMNvTAMVuvnlZtWcZZFm0=
knative.dev/networking v0.0.0-20210914225408-69ad45454096/go.mod h1:nQnVhVss/mFwL6E52vS01Qo0j9/mHTi9UUoETx8BRF0=
knative.dev/pkg v0.0.0-20210914164111-4857ab6939e3 h1:45c2VIOBQP6jpRj+pEyciuzTmBwbZpv8jBfBEf/B5oM=
knative.dev/pkg v0.0.0-20210914164111-4857ab6939e3/go.mod h1:jMSqkNMsrzuy+XR4Yr/BMy7SDVbUOl3KKB6+5MR+ZU8=
knative.dev/pkg v0.0.0-20210917133632-a49a60e62603 h1:dMFYeI7NI6KfHm29FyaDe+B0D1os4QZYmqp3/r+WiHU=
knative.dev/pkg v0.0.0-20210917133632-a49a60e62603/go.mod h1:jMSqkNMsrzuy+XR4Yr/BMy7SDVbUOl3KKB6+5MR+ZU8=
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=
Expand Down
3 changes: 2 additions & 1 deletion vendor/knative.dev/pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ func CheckMinimumVersion(versioner discovery.ServerVersionInterface) error {

// If no specific pre-release requirement is set, we default to "-0" to always allow
// pre-release versions of the same Major.Minor.Patch version.
// Set IsNum to true otherwise currentVersion.LT() below always returns true.
if len(minimumVersion.Pre) == 0 {
minimumVersion.Pre = []semver.PRVersion{{VersionNum: 0}}
minimumVersion.Pre = []semver.PRVersion{{VersionNum: 0, IsNum: true}}
}

// Return error if the current version is less than the minimum version required.
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ knative.dev/networking/test/test_images/runtime/handlers
knative.dev/networking/test/test_images/timeout
knative.dev/networking/test/test_images/wsserver
knative.dev/networking/test/types
# knative.dev/pkg v0.0.0-20210914164111-4857ab6939e3
# knative.dev/pkg v0.0.0-20210917133632-a49a60e62603
## explicit
knative.dev/pkg/apis
knative.dev/pkg/apis/duck
Expand Down

0 comments on commit 9417296

Please sign in to comment.