MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / getEnvironment

Function getEnvironment

main.go:101–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101func getEnvironment() string {
102 if version.BuildVersion == "dev" {
103 return "dev"
104 }
105 return "production"
106}
107
108func getInstanceID() string {
109 if id := os.Getenv("HOSTNAME"); id != "" {

Callers 1

initSentryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected