mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 00:38:33 +02:00
fixed / suppressed (irrelevant) golangci-lint errors
This commit is contained in:
@@ -174,7 +174,9 @@ func (r *HTTPRoute) addToLoadBalancer() {
|
||||
lbTask.OnCancel("remove lb from routes", func() {
|
||||
routes.DeleteHTTPRoute(r.LoadBalance.Link)
|
||||
})
|
||||
lb.Start(lbTask)
|
||||
if err := lb.Start(lbTask); err != nil {
|
||||
panic(err) // should always return nil
|
||||
}
|
||||
linked = &HTTPRoute{
|
||||
ReverseProxyEntry: &entry.ReverseProxyEntry{
|
||||
Raw: &route.RawEntry{
|
||||
|
||||
Reference in New Issue
Block a user