From 380134b1d9bce9728e3681a02c7d0990b7e71777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 9 Feb 2021 18:07:56 +0100 Subject: [PATCH 1/2] typo: ssh init already present --- internal/namespaces/account/v2alpha1/custom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/account/v2alpha1/custom.go b/internal/namespaces/account/v2alpha1/custom.go index 2c501fc3d5..8f59fe5d62 100644 --- a/internal/namespaces/account/v2alpha1/custom.go +++ b/internal/namespaces/account/v2alpha1/custom.go @@ -69,7 +69,7 @@ func InitRun(ctx context.Context, argsI interface{}) (i interface{}, e error) { // Early exit if the SSH key is present locally and on Scaleway for _, SSHKey := range listSSHKeysResponse.SSHKeys { if strings.TrimSpace(SSHKey.PublicKey) == strings.TrimSpace(string(localSSHKeyContent)) { - _, _ = interactive.Println("Look like your local SSH key " + shortenedFilename + " is already present on your Scaleway account.") + _, _ = interactive.Println("Looks like your local SSH key " + shortenedFilename + " is already present on your Scaleway account.") return nil, nil } } From 0a610326956b95d55267c463dd69d2f253bfd360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Tue, 9 Feb 2021 18:11:01 +0100 Subject: [PATCH 2/2] Fix --- internal/namespaces/account/v2alpha1/custom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/namespaces/account/v2alpha1/custom.go b/internal/namespaces/account/v2alpha1/custom.go index 8f59fe5d62..cf27aeaf8d 100644 --- a/internal/namespaces/account/v2alpha1/custom.go +++ b/internal/namespaces/account/v2alpha1/custom.go @@ -69,7 +69,7 @@ func InitRun(ctx context.Context, argsI interface{}) (i interface{}, e error) { // Early exit if the SSH key is present locally and on Scaleway for _, SSHKey := range listSSHKeysResponse.SSHKeys { if strings.TrimSpace(SSHKey.PublicKey) == strings.TrimSpace(string(localSSHKeyContent)) { - _, _ = interactive.Println("Looks like your local SSH key " + shortenedFilename + " is already present on your Scaleway account.") + _, _ = interactive.Println("Looks like your local SSH key " + shortenedFilename + " is already present in your Scaleway account.") return nil, nil } }