Skip to content

Commit

Permalink
Merge pull request #709 from TheRealHaoLiu/ignore-prerelease
Browse files Browse the repository at this point in the history
ignore pre-release in version comparison
  • Loading branch information
TheRealHaoLiu authored Jan 12, 2023
2 parents 8f8481c + 4d9c0d5 commit 80dfd5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/workceptor/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,9 @@ func shouldUseReconnect(kw *kubeUnit) bool {
return false
}

// ignore pre-release in version comparison
semver = semver.WithPreRelease("")

// The patch was backported to minor version 23, 24 and 25. We must check z stream
// based on the minor version
// if minor version == 24, compare with v1.24.8
Expand Down

0 comments on commit 80dfd5a

Please sign in to comment.