Browse Source

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

Leizhengzi 3 năm trước cách đây
mục cha
commit
78ba00d3a7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 }