From e37411f81c2a904efe327f64b621ef58c078ecda Mon Sep 17 00:00:00 2001 From: Samuel Laferriere Date: Wed, 16 Oct 2024 14:23:06 +0100 Subject: [PATCH] docs: add docstring above startRedisContainer function --- e2e/setup.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e/setup.go b/e2e/setup.go index 9ddbc29d..c306e558 100644 --- a/e2e/setup.go +++ b/e2e/setup.go @@ -58,7 +58,7 @@ func init() { } } -// startMinioContainer starts a MinIO container and returns the container instance and its endpoint +// startMinioContainer starts a MinIO container and sets the minioEndpoint global variable func startMinioContainer() error { ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel() @@ -81,6 +81,7 @@ func startMinioContainer() error { return nil } +// startRedisContainer starts a Redis container and sets the redisEndpoint global variable func startRedisContainer() error { ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel()