Add telemetry for EE and FreeTier flags

This commit is contained in:
cameronts
2022-09-29 15:40:10 -07:00
parent 45850ef4a1
commit c97d6cfd66
3 changed files with 25 additions and 1 deletions

View File

@@ -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