Skip to content

Commit 58b47e1

Browse files
teunoknmilukas-phaf
authored andcommitted
Fix linting
1 parent cd2ef13 commit 58b47e1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ jobs:
160160

161161
- name: Comment coverage
162162
uses: MishaKav/pytest-coverage-comment@main
163-
if: github.repository == 'EUMETNET/e-soh'
164163
with:
165164
title: Unit Test Coverage Report
166165
pytest-coverage-path: ./artifacts/test-results/api/test/output/pytest-coverage.txt

datastore/datastore/storagebackend/postgresql/postgresql.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import (
55
"datastore/common"
66
"datastore/datastore"
77
"fmt"
8+
_ "github.com/lib/pq"
89
"log"
910
"regexp"
1011
"strconv"
1112
"strings"
1213
"time"
13-
_ "github.com/lib/pq"
1414
)
1515

1616
// PostgreSQL is an implementation of the StorageBackend interface that
@@ -146,7 +146,7 @@ func NewPostgreSQL() (*PostgreSQL, error) {
146146
user := common.Getenv("PGUSER", "postgres")
147147
password := common.Getenv("PGPASSWORD", "mysecretpassword")
148148
dbname := common.Getenv("PGDBNAME", "data")
149-
enable_ssl := common.Getenv("ENABLE_SSL", "disable")
149+
enable_ssl := common.Getenv("ENABLE_SSL", "disable")
150150
var err error
151151

152152
sbe.Db, err = openDB(host, port, user, password, dbname, enable_ssl)

0 commit comments

Comments
 (0)