mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-21 04:34:22 -04:00
Fix typos
This commit is contained in:
parent
e363f03240
commit
c922136cd4
2 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ func configGenerate(cmd *cobra.Command, fileHandler file.Handler, provider cloud
|
||||||
}
|
}
|
||||||
cmd.Println("Config file written to", flags.file)
|
cmd.Println("Config file written to", flags.file)
|
||||||
cmd.Println("Please fill in your CSP-specific configuration before proceeding.")
|
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")
|
cmd.Println("\thttps://docs.edgeless.systems/constellation/getting-started/first-steps")
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -44,7 +44,7 @@ func TestCreate(t *testing.T) {
|
||||||
nameFlag string
|
nameFlag string
|
||||||
stdin string
|
stdin string
|
||||||
wantErr bool
|
wantErr bool
|
||||||
wantAbbort bool
|
wantAbort bool
|
||||||
}{
|
}{
|
||||||
"create": {
|
"create": {
|
||||||
setupFs: fsWithDefaultConfig,
|
setupFs: fsWithDefaultConfig,
|
||||||
|
@ -69,7 +69,7 @@ func TestCreate(t *testing.T) {
|
||||||
controllerCountFlag: intPtr(1),
|
controllerCountFlag: intPtr(1),
|
||||||
workerCountFlag: intPtr(1),
|
workerCountFlag: intPtr(1),
|
||||||
stdin: "no\n",
|
stdin: "no\n",
|
||||||
wantAbbort: true,
|
wantAbort: true,
|
||||||
},
|
},
|
||||||
"interactive error": {
|
"interactive error": {
|
||||||
setupFs: fsWithDefaultConfig,
|
setupFs: fsWithDefaultConfig,
|
||||||
|
@ -218,7 +218,7 @@ func TestCreate(t *testing.T) {
|
||||||
assert.Error(err)
|
assert.Error(err)
|
||||||
} else {
|
} else {
|
||||||
assert.NoError(err)
|
assert.NoError(err)
|
||||||
if tc.wantAbbort {
|
if tc.wantAbort {
|
||||||
assert.False(tc.creator.createCalled)
|
assert.False(tc.creator.createCalled)
|
||||||
} else {
|
} else {
|
||||||
assert.True(tc.creator.createCalled)
|
assert.True(tc.creator.createCalled)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue