Skip to content

Commit

Permalink
fix addr
Browse files Browse the repository at this point in the history
Signed-off-by: wjhuang2016 <[email protected]>
  • Loading branch information
wjhuang2016 committed Mar 29, 2024
1 parent 53e5f32 commit 39a3941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/mainloop.go
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ func (c *testCase) execute(ctx context.Context) error {
for i := 0; i < len(state.Tables); i++ {
addr := c.cfg.dbAddr
stateAddr := strings.Replace(addr, "4000", "10080", -1)
path := fmt.Sprintf("%d/schema/%s/%s", stateAddr, c.initDB, state.Tables[i].Name)
path := fmt.Sprintf("%s/schema/%s/%s", stateAddr, c.initDB, state.Tables[i].Name)
rawMeta, err := exec.Command("curl", path).Output()
if err != nil {
log.Infof("curl error %s", err.Error())
Expand Down

0 comments on commit 39a3941

Please sign in to comment.