Skip to content

Commit c5cc3e4

Browse files
committed
fix lint
1 parent 2fc49ed commit c5cc3e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/adc/translator/apisixroute.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ func (t *Translator) buildUpstream(tctx *provider.TranslateContext, service *adc
211211
)
212212

213213
for backendIndex, backend := range rule.Backends {
214-
upstream := adc.NewDefaultUpstream()
215214
// try to get the apisixupstream with the same name as the backend service to be upstream config.
216215
// err is ignored because it does not care about the externalNodes of the apisixupstream.
217216
upstream, err := t.translateApisixRouteHTTPBackend(tctx, ar, backend)

0 commit comments

Comments
 (0)