mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-12-06 21:11:50 +08:00
fix: address Jev judge review feedback
This commit is contained in:
1 parent
b0e25d766f
commit
9a1599b96e
17 files changed
+608
-113
No files matched your search
@@ -477,6 +477,9 @@ func (m *Manager) SetWorkerPools(pools []WorkerPool, legacyWorkers ...int) error
|
||||
if profile == nil {
|
||||
return fmt.Errorf("worker_pools 中 profile_id %d 不存在", pool.ProfileID)
|
||||
}
|
||||
if profile.Format == "jev" {
|
||||
return pgdb.ErrJevProfileJudgeOnly
|
||||
}
|
||||
}
|
||||
}
|
||||
b, err := json.Marshal(pools)
|
||||
|
||||
Reference in new issue
Block a user