mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-05 07:26:56 +00:00
Fixup golang.org/x/term staticcheck warnings
Errors from staticcheck: cmd/preferredimports/preferredimports.go:38:2: package golang.org/x/crypto/ssh/terminal is deprecated: this package moved to golang.org/x/term. (SA1019) vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go:36:2: package golang.org/x/crypto/ssh/terminal is deprecated: this package moved to golang.org/x/term. (SA1019) vendor/k8s.io/client-go/tools/clientcmd/auth_loaders.go:26:2: package golang.org/x/crypto/ssh/terminal is deprecated: this package moved to golang.org/x/term. (SA1019) Please review the above warnings. You can test via: hack/verify-staticcheck.sh <failing package> If the above warnings do not make sense, you can exempt the line or file. See: https://staticcheck.io/docs/#ignoring-problems generated: - hack/update-internal-modules.sh - hack/lint-dependencies.sh - hack/update-vendor.sh Signed-off-by: Stephen Augustus <foo@auggie.dev>
This commit is contained in:
1
vendor/golang.org/x/term/term_unix_bsd.go
generated
vendored
1
vendor/golang.org/x/term/term_unix_bsd.go
generated
vendored
@@ -2,6 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
|
||||
// +build darwin dragonfly freebsd netbsd openbsd
|
||||
|
||||
package term
|
||||
|
||||
Reference in New Issue
Block a user