Skip to content

Commit bfd82c7

Browse files
committed
fix test
1 parent 3f348b8 commit bfd82c7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/e2e/scaffold/apisix_deployer.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,12 +251,8 @@ func (s *APISIXDeployer) deployDataplane(opts *APISIXDeployOptions) *corev1.Serv
251251
}
252252

253253
func (s *APISIXDeployer) ScaleDataplane(replicas int) {
254-
s.deployDataplane(&APISIXDeployOptions{
255-
Namespace: s.namespace,
256-
AdminKey: s.opts.APISIXAdminAPIKey,
257-
ServiceHTTPPort: 9080,
258-
ServiceHTTPSPort: 9443,
259-
Replicas: ptr.To(replicas),
254+
s.DeployDataplane(DeployDataplaneOptions{
255+
Replicas: ptr.To(replicas),
260256
})
261257
}
262258

0 commit comments

Comments
 (0)