root: add goos/goarch debug log
This commit is contained in:
parent
6ba281b4e4
commit
dbe32704a5
@ -31,6 +31,8 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
|
rt "runtime"
|
||||||
|
|
||||||
"github.com/rancher/k3d/v4/cmd/cluster"
|
"github.com/rancher/k3d/v4/cmd/cluster"
|
||||||
cfg "github.com/rancher/k3d/v4/cmd/config"
|
cfg "github.com/rancher/k3d/v4/cmd/config"
|
||||||
"github.com/rancher/k3d/v4/cmd/image"
|
"github.com/rancher/k3d/v4/cmd/image"
|
||||||
@ -182,7 +184,7 @@ func initRuntime() {
|
|||||||
log.Fatalln(err)
|
log.Fatalln(err)
|
||||||
}
|
}
|
||||||
runtimes.SelectedRuntime = runtime
|
runtimes.SelectedRuntime = runtime
|
||||||
log.Debugf("Selected runtime is '%T'", runtimes.SelectedRuntime)
|
log.Debugf("Selected runtime is '%T' on GOOS '%s/%s'", runtimes.SelectedRuntime, rt.GOOS, rt.GOARCH)
|
||||||
}
|
}
|
||||||
|
|
||||||
func printVersion() {
|
func printVersion() {
|
||||||
|
Loading…
Reference in New Issue
Block a user