Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 239c69c

Browse files
author
auxten
committed
Fix test
1 parent 64cb50b commit 239c69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlchain/observer/observation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func stopNodes() {
206206
}
207207

208208
func getJSON(pattern string, args ...interface{}) (result *jsonq.JsonQuery, err error) {
209-
url := "http://localhost:4663/" + apiProxyPrefix + fmt.Sprintf(pattern, args...)
209+
url := "http://localhost:4663/" + apiProxyPrefix + "/" + fmt.Sprintf(pattern, args...)
210210
resp, err := http.Get(url)
211211
if err != nil {
212212
return

0 commit comments

Comments
 (0)