mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-15 20:27:20 +08:00
Go: format code (#16813)
### Summary Aligned to EE Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -1169,3 +1169,7 @@ func (s *Service) RemoveIngestionTasksByCondition(tasks []string, email, status
|
||||
|
||||
return []map[string]interface{}{element}, nil
|
||||
}
|
||||
|
||||
func CheckLicense() (common.ErrorCode, string) {
|
||||
return common.CodeLicenseValid, ""
|
||||
}
|
||||
|
||||
@@ -1677,8 +1677,9 @@ func (s *Service) HandleHeartbeat(message *common.BaseMessage) (common.ErrorCode
|
||||
Timestamp: message.Timestamp,
|
||||
Ext: message.Ext,
|
||||
}
|
||||
|
||||
GlobalServerStore.UpdateServerInfo(message.ServerName, status)
|
||||
return common.CodeLicenseValid, ""
|
||||
return CheckLicense()
|
||||
}
|
||||
|
||||
// InitDefaultAdmin initialize default admin user
|
||||
|
||||
Reference in New Issue
Block a user