mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-18 22:55:15 +08:00
bugfix GetPlatform
This commit is contained in:
@@ -494,7 +494,7 @@ func GetPlatform() string {
|
||||
if os.Getenv("PLATFORM") != "" {
|
||||
platform = os.Getenv("PLATFORM")
|
||||
} else if config.Config.Server.Platform != "" {
|
||||
platform = config.Config.Server.SQLConn
|
||||
platform = config.Config.Server.Platform
|
||||
}
|
||||
return platform
|
||||
}
|
||||
|
Reference in New Issue
Block a user