Просмотр исходного кода

chore: add customer type 4 (BYOC)

zmstone 1 год назад
Родитель
Сommit
c737045dff

+ 1 - 0
apps/emqx_license/include/emqx_license.hrl

@@ -32,6 +32,7 @@
 -define(MEDIUM_CUSTOMER, 1).
 -define(LARGE_CUSTOMER, 2).
 -define(BUSINESS_CRITICAL_CUSTOMER, 3).
+-define(BYOC_CUSTOMER, 4).
 -define(EVALUATION_CUSTOMER, 10).
 
 -define(EXPIRED_DAY, -90).

+ 1 - 0
apps/emqx_license/src/emqx_license_parser.erl

@@ -29,6 +29,7 @@
     | ?MEDIUM_CUSTOMER
     | ?LARGE_CUSTOMER
     | ?BUSINESS_CRITICAL_CUSTOMER
+    | ?BYOC_CUSTOMER
     | ?EVALUATION_CUSTOMER.
 
 -type license_type() :: ?OFFICIAL | ?TRIAL.