From 75a2d12dda77382e49c9cd98325550940449e1b7 Mon Sep 17 00:00:00 2001 From: Stefan Majer Date: Thu, 31 Oct 2024 08:13:31 +0100 Subject: [PATCH] Fix --- pkg/datastore/postgres_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/datastore/postgres_test.go b/pkg/datastore/postgres_test.go index 317913f..f4a21d2 100644 --- a/pkg/datastore/postgres_test.go +++ b/pkg/datastore/postgres_test.go @@ -795,6 +795,9 @@ func createPostgresConnection() (testcontainers.Container, *sqlx.DB, error) { WithOccurrence(2). WithStartupTimeout(5*time.Second)), ) + if err != nil { + return nil, nil, err + } ip, err := postgres.Host(ctx) if err != nil {