Dev: keep EE license (#21048)

This commit is contained in:
Wang Qi authored and GitHub committed 2026-10-16 11:31:27 +08:00
1 parent 6303d2fc37
commit 150977db52
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -16,6 +16,8 @@
package admin
func InitLicense() error {
import "context"
func InitLicense(ctx context.Context) error {
return nil
}
+1 -1
View File
@@ -50,7 +50,7 @@ func Run(ctx context.Context, serverName string, args *bootstrap.ServerArgs) err
adminService := adminapi.NewService()
adminHandler := adminapi.NewHandler(adminService)
if err := adminapi.InitLicense(); err != nil {
if err := adminapi.InitLicense(ctx); err != nil {
common.Warn("Failed to initialize license", zap.Error(err))
}