Browse Source

fix: command system info missing go version (#1377)

Leizhengzi 3 years ago
parent
commit
78ba00d3a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/goctl/bug/env.go

+ 1 - 1
tools/goctl/bug/env.go

@@ -29,6 +29,6 @@ func getEnv() env {
 	e[os] = runtime.GOOS
 	e[arch] = runtime.GOARCH
 	e[goctlVersion] = version.BuildVersion
-	e[goctlVersion] = runtime.Version()
+	e[goVersion] = runtime.Version()
 	return e
 }