Skip to content

Commit

Permalink
docs: add docstring above startRedisContainer function
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Oct 16, 2024
1 parent 7ccf0c1 commit e37411f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit e37411f

Please sign in to comment.