Skip to content

Commit

Permalink
Download the desired version and relogin (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 authored Dec 1, 2023
1 parent c2da876 commit 0544892
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions cmd/#.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ func newLoginCmd(c *config) *cobra.Command {
return err
}

// We need to reread the written kubeconfig
c := getConfig(c.name)

resp, err := c.cloud.Version.Info(nil, nil)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/jinzhu/now v1.1.5
github.com/metal-stack/duros-go v0.4.3
github.com/metal-stack/metal-lib v0.14.1
github.com/metal-stack/updater v1.2.0
github.com/metal-stack/updater v1.2.1
github.com/metal-stack/v v1.0.3
github.com/olekukonko/tablewriter v0.0.5
github.com/spf13/cobra v1.8.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ github.com/metal-stack/metal-lib v0.14.1 h1:+9qWlIeO1q1zGmD16Hb6IyGYcJ1D4W2HHgcz
github.com/metal-stack/metal-lib v0.14.1/go.mod h1:2wKxFXSCpA1Dr+Rq0ddpQCPKPGMWJp4cpIaVTM4lDi0=
github.com/metal-stack/security v0.7.1 h1:bwiPhT/gArl9IRJlhpDZzAs5Us6rmIt9bcuQXcLKO5k=
github.com/metal-stack/security v0.7.1/go.mod h1:v+JrV2tIvoKESY0puONL3rAocfLkol1pqm2osm9PLcw=
github.com/metal-stack/updater v1.2.0 h1:O7L4NxLEKVnS7GGOQi0PjKdrFSv3DZjmpdRmWYCLPew=
github.com/metal-stack/updater v1.2.0/go.mod h1:4q5BD0ieAeCbGIl+Udjbsu8D86jgOhXsHzmyeg7PtM0=
github.com/metal-stack/updater v1.2.1 h1:8wWpzx+VHw8Pv6IJ+IUEqMr7g06TrrADvcWAFMZl/ZE=
github.com/metal-stack/updater v1.2.1/go.mod h1:4q5BD0ieAeCbGIl+Udjbsu8D86jgOhXsHzmyeg7PtM0=
github.com/metal-stack/v v1.0.3 h1:Sh2oBlnxrCUD+mVpzfC8HiqL045YWkxs0gpTvkjppqs=
github.com/metal-stack/v v1.0.3/go.mod h1:YTahEu7/ishwpYKnp/VaW/7nf8+PInogkfGwLcGPdXg=
github.com/miekg/dns v1.1.56 h1:5imZaSeoRNvpM9SzWNhEcP9QliKiz20/dA2QabIGVnE=
Expand Down

0 comments on commit 0544892

Please # to comment.