mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
Align semver libs (#52795)
* Convert autoupdate version handling to coreos/go-semver * get the right version in installer endpoint + get rid of x/mod/semver * depguard x/mod/semver * Add nolint rules for existing x/mod/semver usages * Add depguard explanation
This commit is contained in:
@@ -28,7 +28,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/gravitational/trace"
|
||||
"golang.org/x/mod/semver"
|
||||
"golang.org/x/mod/semver" //nolint:depguard // Usage precedes the x/mod/semver rule.
|
||||
|
||||
"github.com/gravitational/teleport"
|
||||
logutils "github.com/gravitational/teleport/lib/utils/log"
|
||||
|
||||
Reference in New Issue
Block a user