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:
MHSanaei 2026-05-27 21:22:15 +02:00
parent 470efb7a64
commit 5f9528862b
No known key found for this signature in database
GPG key ID: 7E4060F2FBE5AB7A

View file

@ -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