Skip to content

Commit a273958

Browse files
committed
fix syntax error
1 parent 2269edf commit a273958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func testDiscovery(client *goconsul.Client) {
5151
panic(err)
5252
}
5353

54-
insArray, err := client.DiscoverInstancesWithName("test-service", 1)
54+
insArray, err := client.DiscoverInstancesWithName("test-service", nil, 1)
5555
if err != nil {
5656
panic(err)
5757
}

0 commit comments

Comments
 (0)