diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-03-11 11:16:54 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-03-11 11:16:54 +0300 |
| commit | 6c73791cab6d430e1c061c8c515280c01d2fe95d (patch) | |
| tree | f564351768676f24eb57b2bca41b111204bf092e /web/service/inbound.go | |
| parent | f76e3ff94b15f20bab5ef2fe105506a734b406f8 (diff) | |
[xray] add BurstObservatory + minor changes
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/service/inbound.go')
| -rw-r--r-- | web/service/inbound.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/service/inbound.go b/web/service/inbound.go index e9b1e595..d71057b1 100644 --- a/web/service/inbound.go +++ b/web/service/inbound.go @@ -969,7 +969,7 @@ func (s *InboundService) disableInvalidInbounds(tx *gorm.DB) (bool, int64, error s.xrayApi.Init(p.GetAPIPort()) for _, tag := range tags { err1 := s.xrayApi.DelInbound(tag) - if err == nil { + if err1 == nil { logger.Debug("Inbound disabled by api:", tag) } else { logger.Debug("Error in disabling inbound by api:", err1) |
