Compare commits

..

1 Commits

Author SHA1 Message Date
Kubernetes Publisher
098bb3c537 Update dependencies to v0.22.12-rc.0 tag 2022-06-16 19:58:34 +00:00
4 changed files with 10 additions and 9 deletions

8
go.mod
View File

@@ -30,8 +30,8 @@ require (
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
google.golang.org/protobuf v1.26.0
k8s.io/api v0.22.14-rc.0
k8s.io/apimachinery v0.22.14-rc.0
k8s.io/api v0.22.12-rc.0
k8s.io/apimachinery v0.22.12-rc.0
k8s.io/klog/v2 v2.9.0
k8s.io/utils v0.0.0-20211116205334-6203023598ed
sigs.k8s.io/structured-merge-diff/v4 v4.2.1
@@ -39,6 +39,6 @@ require (
)
replace (
k8s.io/api => k8s.io/api v0.22.14-rc.0
k8s.io/apimachinery => k8s.io/apimachinery v0.22.14-rc.0
k8s.io/api => k8s.io/api v0.22.12-rc.0
k8s.io/apimachinery => k8s.io/apimachinery v0.22.12-rc.0
)

8
go.sum
View File

@@ -444,10 +444,10 @@ honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWh
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
k8s.io/api v0.22.14-rc.0 h1:OB/dNXp43hWyIRJnhjIC4/PnpMJw7x3jCT+RpR43D04=
k8s.io/api v0.22.14-rc.0/go.mod h1:BuXVgSgXwSvt4lhTazEXhH8yYwnmFYSku1uFbfbc/aA=
k8s.io/apimachinery v0.22.14-rc.0 h1:6zRFD8/kia/DoBRYco6wOanbMbezJv/333XrSFwgSOU=
k8s.io/apimachinery v0.22.14-rc.0/go.mod h1:ZvVLP5iLhwVFg2Yx9Gh5W0um0DUauExbRhe+2Z8I1EU=
k8s.io/api v0.22.12-rc.0 h1:3JMhS4KHIAwTmSdQULOZJyoaRo0jEO5a8xZSI3/7RWk=
k8s.io/api v0.22.12-rc.0/go.mod h1:NxSXvG2a29vAJAF3bERdAPTOvmb/koF7owg6ZqVeMb8=
k8s.io/apimachinery v0.22.12-rc.0 h1:G0uU6IUT2bviTHTEsoyipNBDPGjvi/W7bNdoo21LNRs=
k8s.io/apimachinery v0.22.12-rc.0/go.mod h1:ZvVLP5iLhwVFg2Yx9Gh5W0um0DUauExbRhe+2Z8I1EU=
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
k8s.io/klog/v2 v2.9.0 h1:D7HV+n1V57XeZ0m6tdRkfknthUaM06VFbWldOFh8kzM=

1
pkg/version/.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
base.go export-subst

View File

@@ -51,10 +51,10 @@ func (a *PromptingAuthLoader) LoadAuth(path string) (*clientauth.Info, error) {
// Prompt for user/pass and write a file if none exists.
if _, err := os.Stat(path); os.IsNotExist(err) {
authPtr, err := a.Prompt()
auth := *authPtr
if err != nil {
return nil, err
}
auth := *authPtr
data, err := json.Marshal(auth)
if err != nil {
return &auth, err