From ccb7cff4fca3ea7b0c4ae74cf5dbc76f0b5d113a Mon Sep 17 00:00:00 2001 From: SoXX Date: Tue, 4 Jun 2024 13:59:38 +0200 Subject: [PATCH] refactor(db): removed unused context Signed-off-by: SoXX --- pkg/database/postgres.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/database/postgres.go b/pkg/database/postgres.go index cff9d4e..7680441 100644 --- a/pkg/database/postgres.go +++ b/pkg/database/postgres.go @@ -29,7 +29,7 @@ func NewPostgresqlConnection() OtterSpace { } } -func (p postgresqlConnection) Connect(ctx context.Context, endpoint string, username string, password string, database string, port int, ssl string, timezone string) error { +func (p postgresqlConnection) Connect(_ context.Context, endpoint string, username string, password string, database string, port int, ssl string, timezone string) error { dsn := fmt.Sprintf("host=%s user=%s password=%s dbname=%s port=%d sslmode=%s TimeZone=%s", endpoint, username, password, database, port, ssl, timezone) var err error