abhishek9686 преди 1 година
родител
ревизия
1f44817e64
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      controllers/server.go

+ 1 - 1
controllers/server.go

@@ -122,7 +122,7 @@ func getStatus(w http.ResponseWriter, r *http.Request) {
 		licenseErr = servercfg.ErrLicenseValidation.Error()
 	}
 	var trialEndDate time.Time
-	if servercfg.GetLicenseKey() == "" {
+	if servercfg.GetLicenseKey() == "" || servercfg.GetNetmakerTenantID() == "" {
 		trialEndDate, _ = logic.GetTrialEndDate()
 	}
 	currentServerStatus := status{