From b9fe6ca4248bedc049079f47da4b3034333e7f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C4=B1l=20=C5=9Eenay?= Date: Sun, 15 Oct 2023 10:02:07 +0300 Subject: [PATCH] Fix wrong module names (#1776) --- docs/modules/neo4j.md | 2 +- modules/elasticsearch/options.go | 2 +- modules/gcloud/gcloud.go | 2 +- modules/nats/options.go | 2 +- modules/rabbitmq/options.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/modules/neo4j.md b/docs/modules/neo4j.md index d5b6310ca0..f06e475860 100644 --- a/docs/modules/neo4j.md +++ b/docs/modules/neo4j.md @@ -48,7 +48,7 @@ When starting the Neo4j container, you can pass options in a variadic way to con #### Image If you need to set a different Neo4j Docker image, you can use `testcontainers.WithImage` with a valid Docker image -for Couchbase. E.g. `testcontainers.WithImage("docker.io/neo4j:4.4")`. +for Neo4j. E.g. `testcontainers.WithImage("docker.io/neo4j:4.4")`. By default, the container will use the following Docker image: diff --git a/modules/elasticsearch/options.go b/modules/elasticsearch/options.go index 0cd8b9f40d..97f75f5c52 100644 --- a/modules/elasticsearch/options.go +++ b/modules/elasticsearch/options.go @@ -24,7 +24,7 @@ func defaultOptions() *Options { // Compiler check to ensure that Option implements the testcontainers.ContainerCustomizer interface. var _ testcontainers.ContainerCustomizer = (*Option)(nil) -// Option is an option for the Redpanda container. +// Option is an option for the Elasticsearch container. type Option func(*Options) // Customize is a NOOP. It's defined to satisfy the testcontainers.ContainerCustomizer interface. diff --git a/modules/gcloud/gcloud.go b/modules/gcloud/gcloud.go index 967305bba6..ea28c68936 100644 --- a/modules/gcloud/gcloud.go +++ b/modules/gcloud/gcloud.go @@ -53,7 +53,7 @@ func defaultOptions() options { // Compiler check to ensure that Option implements the testcontainers.ContainerCustomizer interface. var _ testcontainers.ContainerCustomizer = (*Option)(nil) -// Option is an option for the Redpanda container. +// Option is an option for the GCloud container. type Option func(*options) // Customize is a NOOP. It's defined to satisfy the testcontainers.ContainerCustomizer interface. diff --git a/modules/nats/options.go b/modules/nats/options.go index f4f08406d2..f43cf9b9d5 100644 --- a/modules/nats/options.go +++ b/modules/nats/options.go @@ -19,7 +19,7 @@ func defaultOptions() options { // Compiler check to ensure that Option implements the testcontainers.ContainerCustomizer interface. var _ testcontainers.ContainerCustomizer = (*CmdOption)(nil) -// CmdOption is an option for the Redpanda container. +// CmdOption is an option for the NATS container. type CmdOption func(opts *options) // Customize is a NOOP. It's defined to satisfy the testcontainers.ContainerCustomizer interface. diff --git a/modules/rabbitmq/options.go b/modules/rabbitmq/options.go index 0476ba0f16..fd4266b0fc 100644 --- a/modules/rabbitmq/options.go +++ b/modules/rabbitmq/options.go @@ -40,7 +40,7 @@ type SSLSettings struct { // Compiler check to ensure that Option implements the testcontainers.ContainerCustomizer interface. var _ testcontainers.ContainerCustomizer = (*Option)(nil) -// Option is an option for the Redpanda container. +// Option is an option for the RabbitMQ container. type Option func(*options) // Customize is a NOOP. It's defined to satisfy the testcontainers.ContainerCustomizer interface.