Skip to content

Commit ea34260

Browse files
committed
fix: r
Signed-off-by: Ashing Zheng <[email protected]>
1 parent b0a8fd1 commit ea34260

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/framework/api7_dashboard.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ func (f *Framework) CreateNewGatewayGroupWithIngressE() (string, error) {
395395
}
396396

397397
func (f *Framework) setDpManagerEndpoints() {
398-
payload := []byte(fmt.Sprintf(`{"control_plane_address":["%s"]}`, DPManagerTLSEndpoint))
398+
payload := []byte(fmt.Sprintf(`{"dp_manager_address":["%s"]}`, DPManagerTLSEndpoint))
399399

400400
respExp := f.DashboardHTTPClient().
401401
PUT("/api/system_settings").
@@ -408,7 +408,7 @@ func (f *Framework) setDpManagerEndpoints() {
408408
f.Logf("set dp manager endpoints response: %s", respExp.Body().Raw())
409409

410410
respExp.Status(200).
411-
Body().Contains("control_plane_address")
411+
Body().Contains("dp_manager_address")
412412
}
413413

414414
func (f *Framework) GetDashboardEndpoint() string {

0 commit comments

Comments
 (0)