Explorar el Código

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

Leizhengzi hace 3 años
padre
commit
78ba00d3a7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 }