From c316f53e23a9fd7df0ba231c545d3a6796bde795 Mon Sep 17 00:00:00 2001 From: Azz Date: Wed, 17 Aug 2022 19:32:20 +0100 Subject: [PATCH] fix: ci happy now? --- app.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.go b/app.go index bca01b5c..58388905 100644 --- a/app.go +++ b/app.go @@ -129,7 +129,6 @@ func NewHeadscale(cfg *Config) (*Headscale, error) { switch cfg.DBtype { case Postgres: dbString = fmt.Sprintf( - "host=%s port=%d dbname=%s user=%s password=%s", "host=%s dbname=%s user=%s", cfg.DBhost, cfg.DBname, @@ -138,7 +137,7 @@ func NewHeadscale(cfg *Config) (*Headscale, error) { if !cfg.DBssl { dbString = dbString + " sslmode=disable" - } + } if cfg.DBport != 0 { dbString += fmt.Sprintf(" port=%d", cfg.DBport)