Fix outbound not found message

This commit is contained in:
世界 2023-10-25 12:00:00 +08:00
parent de0b5cc1c2
commit edf7d046eb
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -69,7 +69,7 @@ func (s *Box) startOutbounds() error {
}
problemOutbound := outbounds[problemOutboundTag]
if problemOutbound == nil {
return E.New("dependency[", problemOutbound, "] not found for outbound[", outboundTags[oCurrent], "]")
return E.New("dependency[", problemOutboundTag, "] not found for outbound[", outboundTags[oCurrent], "]")
}
return lintOutbound(append(oTree, problemOutboundTag), problemOutbound)
}