mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-09 02:30:49 +08:00
Add telemetry for EE and FreeTier flags
This commit is contained in:
@@ -10,12 +10,14 @@ var isEnterprise bool
|
||||
|
||||
// IsEnterprise - checks if enterprise binary or not
|
||||
func IsEnterprise() bool {
|
||||
logic.SetEEForTelemetry(isEnterprise)
|
||||
return isEnterprise
|
||||
}
|
||||
|
||||
// setIsEnterprise - sets server to use enterprise features
|
||||
func setIsEnterprise() {
|
||||
isEnterprise = true
|
||||
logic.SetEEForTelemetry(isEnterprise)
|
||||
}
|
||||
|
||||
// base64encode - base64 encode helper function
|
||||
|
Reference in New Issue
Block a user