aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.go
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-08-04 10:33:43 +0200
committerRobin Jarry <robin@jarry.cc>2022-08-04 21:57:41 +0200
commit47b258f709246b295270867d0afe44fdf7f82c05 (patch)
treed7da958a6a0d9d4796e0a33b7b5820957a323e55 /config/config.go
parent91981574cc37ea4326c1ca7058358914867ebd9f (diff)
downloadaerc-47b258f709246b295270867d0afe44fdf7f82c05.tar.gz
lint: fix ineffective assignments (SA4005)
Signed-off-by: Moritz Poldrack <moritz@poldrack.dev> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go
index 7e1261df..249fa278 100644
--- a/config/config.go
+++ b/config/config.go
@@ -134,7 +134,6 @@ func (c RemoteConfig) ConnectionString() (string, error) {
pw := strings.TrimSpace(string(output))
u.User = url.UserPassword(u.User.Username(), pw)
c.Value = u.String()
- c.PasswordCmd = ""
return c.Value, nil
}