mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 12:44:22 +00:00
chore(logging): drop noisy orphan client_inbounds warning
Per-row WARNINGs spammed logs whenever a client referenced multiple already-deleted inbounds. The continue keeps the orphan-tolerant behavior; just no longer announces each skipped row.
This commit is contained in:
parent
470efb7a64
commit
5f9528862b
1 changed files with 0 additions and 1 deletions
|
|
@ -679,7 +679,6 @@ func (s *ClientService) Delete(inboundSvc *InboundService, id int, keepTraffic b
|
|||
inbound, getErr := inboundSvc.GetInbound(ibId)
|
||||
if getErr != nil {
|
||||
if errors.Is(getErr, gorm.ErrRecordNotFound) {
|
||||
logger.Warningf("Delete: skipping orphan client_inbounds row for client_id=%d, inbound_id=%d (inbound missing)", id, ibId)
|
||||
continue
|
||||
}
|
||||
return needRestart, getErr
|
||||
|
|
|
|||
Loading…
Reference in a new issue