use main.version rather than subpackage variables

This commit is contained in:
Matthew R. Kasun
2022-02-08 07:01:39 -05:00
parent acef10991b
commit 4ab924af3e
5 changed files with 30 additions and 14 deletions

View File

@@ -118,6 +118,11 @@ func GetAPIConnString() string {
return conn
}
// SetVersion - set version of netmaker
func SetVersion(v string) {
Version = v
}
// GetVersion - version of netmaker
func GetVersion() string {
return Version