Skip to content

Commit 7235a7c

Browse files
committed
Update for Sidecar 2.0
1 parent 640b4e5 commit 7235a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func findPortWithSvcPortNumber(ports []service.Port, config *Config) string {
156156
// server:port combinations for the queried service
157157
func FetchServers(config *Config) ([]string, error) {
158158
client := &http.Client{Timeout: config.RefreshInterval * 2}
159-
url := "http://" + config.SidecarAddress + "/services/" + config.FollowService + ".json"
159+
url := "http://" + config.SidecarAddress + "/api/services/" + config.FollowService + ".json"
160160

161161
resp, err := client.Get(url)
162162
if err != nil {

0 commit comments

Comments
 (0)