From 47b258f709246b295270867d0afe44fdf7f82c05 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Thu, 4 Aug 2022 10:33:43 +0200 Subject: lint: fix ineffective assignments (SA4005) Signed-off-by: Moritz Poldrack Acked-by: Robin Jarry --- config/config.go | 1 - 1 file changed, 1 deletion(-) (limited to 'config/config.go') 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 } -- cgit