Skip to content

Commit

Permalink
Use hashicorp/consul in examples (#950)
Browse files Browse the repository at this point in the history
There is a deprecation notice about using `consul` and the
suggestion is to use `hashicorp/consul` instead.
  • Loading branch information
eddumelendez committed Mar 23, 2023
1 parent bb98792 commit ac65ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/consul/consul.go
Expand Up @@ -17,7 +17,7 @@ type consulContainer struct {
// startContainer creates an instance of the consul container type
func startContainer(ctx context.Context) (*consulContainer, error) {
req := testcontainers.ContainerRequest{
Image: "consul:latest",
Image: "hashicorp/consul:latest",
ExposedPorts: []string{"8500/tcp", "8600/udp"},
Name: "badger",
Cmd: []string{"agent", "-server", "-ui", "-node=server-1", "-bootstrap-expect=1", "-client=0.0.0.0"},
Expand Down

0 comments on commit ac65ec9

Please sign in to comment.