File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ import (
3131
3232 adctypes "github.com/apache/apisix-ingress-controller/api/adc"
3333 "github.com/apache/apisix-ingress-controller/internal/provider/adc/translator"
34- "github.com/apache/apisix-ingress-controller/test/e2e/framework"
3534)
3635
3736// DataplaneResource defines the interface for accessing dataplane resources
@@ -137,9 +136,6 @@ func (a *adcDataplaneResource) dumpResources(ctx context.Context) (*translator.T
137136 "ADC_SERVER=" + a .serverAddr ,
138137 "ADC_TOKEN=" + a .token ,
139138 }
140- if framework .ProviderType != "" {
141- adcEnv = append (adcEnv , "ADC_BACKEND=" + framework .ProviderType )
142- }
143139
144140 var stdout , stderr bytes.Buffer
145141 cmd := exec .CommandContext (ctxWithTimeout , "adc" , args ... )
Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ func (s *APISIXDeployer) GetAdminEndpoint(svc ...*corev1.Service) string {
384384
385385func (s * APISIXDeployer ) DefaultDataplaneResource () DataplaneResource {
386386 return newADCDataplaneResource (
387- "apisix-standalone" ,
387+ framework . ProviderType ,
388388 fmt .Sprintf ("http://%s" , s .adminTunnel .Endpoint ()),
389389 s .AdminKey (),
390390 false , // tlsVerify
You can’t perform that action at this time.
0 commit comments