Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
101
func
getEnvironment() string {
102
if
version.BuildVersion ==
"dev"
{
103
return
"dev"
104
}
105
return
"production"
106
}
107
108
func
getInstanceID() string {
109
if
id := os.Getenv(
"HOSTNAME"
); id !=
""
{
Callers
1
initSentry
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected