We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb82ce commit 40f4ef8Copy full SHA for 40f4ef8
test/e2e/scaffold/adc.go
@@ -31,7 +31,6 @@ import (
31
"gopkg.in/yaml.v3"
32
33
adctypes "github.com/apache/apisix-ingress-controller/api/adc"
34
- apiv2 "github.com/apache/apisix-ingress-controller/api/v2"
35
"github.com/apache/apisix-ingress-controller/internal/adc/translator"
36
)
37
@@ -45,7 +44,7 @@ func init() {
45
44
if adc == "" {
46
return
47
}
48
- if strings.Contains(adc, apiv2.PassHostNode) {
+ if strings.Contains(adc, "node") {
49
parts := strings.Fields(adc)
50
adcExec = parts[0]
51
adcArgs = parts[1:]
0 commit comments