We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2269edf commit a273958Copy full SHA for a273958
example/main.go
@@ -51,7 +51,7 @@ func testDiscovery(client *goconsul.Client) {
51
panic(err)
52
}
53
54
- insArray, err := client.DiscoverInstancesWithName("test-service", 1)
+ insArray, err := client.DiscoverInstancesWithName("test-service", nil, 1)
55
if err != nil {
56
57
0 commit comments