mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-11-10 21:32:43 +08:00
Dev: keep EE license (#21048)
This commit is contained in:
1 parent
6303d2fc37
commit
150977db52
2 files changed
+4
-2
No files matched your search
@@ -16,6 +16,8 @@
|
||||
|
||||
package admin
|
||||
|
||||
func InitLicense() error {
|
||||
import "context"
|
||||
|
||||
func InitLicense(ctx context.Context) error {
|
||||
return nil
|
||||
}
|
||||
@@ -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))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user