mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-14 05:40:50 +08:00
disable default pro setup
This commit is contained in:
parent
c6d76df5af
commit
74579e467b
1 changed files with 6 additions and 6 deletions
|
@ -38,12 +38,12 @@ func InitPro() {
|
|||
controller.ListRoles = proControllers.ListRoles
|
||||
logic.EnterpriseCheckFuncs = append(logic.EnterpriseCheckFuncs, func() {
|
||||
// == License Handling ==
|
||||
enableLicenseHook := false
|
||||
licenseKeyValue := servercfg.GetLicenseKey()
|
||||
netmakerTenantID := servercfg.GetNetmakerTenantID()
|
||||
if licenseKeyValue != "" && netmakerTenantID != "" {
|
||||
enableLicenseHook = true
|
||||
}
|
||||
enableLicenseHook := true
|
||||
// licenseKeyValue := servercfg.GetLicenseKey()
|
||||
// netmakerTenantID := servercfg.GetNetmakerTenantID()
|
||||
// if licenseKeyValue != "" && netmakerTenantID != "" {
|
||||
// enableLicenseHook = true
|
||||
// }
|
||||
if !enableLicenseHook {
|
||||
err := initTrial()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue