mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 05:04:27 +08:00
commit
7fcf76764e
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ func GetAPIConnString() string {
|
||||||
return conn
|
return conn
|
||||||
}
|
}
|
||||||
func GetVersion() string {
|
func GetVersion() string {
|
||||||
version := "0.7.2"
|
version := "0.7.3"
|
||||||
if config.Config.Server.Version != "" {
|
if config.Config.Server.Version != "" {
|
||||||
version = config.Config.Server.Version
|
version = config.Config.Server.Version
|
||||||
}
|
}
|
||||||
|
@ -331,7 +331,7 @@ func GetPlatform() string {
|
||||||
platform := "linux"
|
platform := "linux"
|
||||||
if os.Getenv("PLATFORM") != "" {
|
if os.Getenv("PLATFORM") != "" {
|
||||||
platform = os.Getenv("PLATFORM")
|
platform = os.Getenv("PLATFORM")
|
||||||
} else if config.Config.Server.Platform != "" {
|
} else if config.Config.Server.Platform != "" {
|
||||||
platform = config.Config.Server.SQLConn
|
platform = config.Config.Server.SQLConn
|
||||||
}
|
}
|
||||||
return platform
|
return platform
|
||||||
|
|
Loading…
Add table
Reference in a new issue