From ae2f8530abffffebef4bba8e7e9944e9a632ce77 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Fri, 29 Nov 2024 08:37:16 +1100 Subject: [PATCH] fix: remove errant space in ssh command with service (#406) --- pkg/lagoon/ssh/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/lagoon/ssh/main.go b/pkg/lagoon/ssh/main.go index 64136a8d..2ceda269 100644 --- a/pkg/lagoon/ssh/main.go +++ b/pkg/lagoon/ssh/main.go @@ -83,7 +83,7 @@ func InteractiveSSH(lagoon map[string]string, sshService string, sshContainer st } var connString string if sshService != "" { - connString = fmt.Sprintf("%s service=%s", connString, sshService) + connString = fmt.Sprintf("service=%s", sshService) } if sshContainer != "" && sshService != "" { connString = fmt.Sprintf("%s container=%s", connString, sshContainer)