From c922136cd41fc38f6b8b6f5869e1a22b14adfbff Mon Sep 17 00:00:00 2001 From: Nils Hanke Date: Mon, 31 Oct 2022 16:39:56 +0100 Subject: [PATCH] Fix typos --- cli/internal/cmd/configgenerate.go | 2 +- cli/internal/cmd/create_test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/internal/cmd/configgenerate.go b/cli/internal/cmd/configgenerate.go index 601148507..c122f9d7b 100644 --- a/cli/internal/cmd/configgenerate.go +++ b/cli/internal/cmd/configgenerate.go @@ -74,7 +74,7 @@ func configGenerate(cmd *cobra.Command, fileHandler file.Handler, provider cloud } cmd.Println("Config file written to", flags.file) cmd.Println("Please fill in your CSP-specific configuration before proceeding.") - cmd.Println("Fore more information refer to the documentation:") + cmd.Println("For more information refer to the documentation:") cmd.Println("\thttps://docs.edgeless.systems/constellation/getting-started/first-steps") return nil diff --git a/cli/internal/cmd/create_test.go b/cli/internal/cmd/create_test.go index dce2747aa..8c3d01f2a 100644 --- a/cli/internal/cmd/create_test.go +++ b/cli/internal/cmd/create_test.go @@ -44,7 +44,7 @@ func TestCreate(t *testing.T) { nameFlag string stdin string wantErr bool - wantAbbort bool + wantAbort bool }{ "create": { setupFs: fsWithDefaultConfig, @@ -69,7 +69,7 @@ func TestCreate(t *testing.T) { controllerCountFlag: intPtr(1), workerCountFlag: intPtr(1), stdin: "no\n", - wantAbbort: true, + wantAbort: true, }, "interactive error": { setupFs: fsWithDefaultConfig, @@ -218,7 +218,7 @@ func TestCreate(t *testing.T) { assert.Error(err) } else { assert.NoError(err) - if tc.wantAbbort { + if tc.wantAbort { assert.False(tc.creator.createCalled) } else { assert.True(tc.creator.createCalled)