spelling: bootstrap

This commit is contained in:
Josh Soref
2018-03-11 17:43:19 +00:00
parent 8aad572cb9
commit 91b593ae0d
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ func TestACLBootstrapCommand(t *testing.T) {
assert.Contains(out, "Secret ID")
}
// If a bootsrap token has already been created, attempts to create more should
// If a bootstrap token has already been created, attempts to create more should
// fail.
func TestACLBootstrapCommand_ExistingBootstrapToken(t *testing.T) {
t.Parallel()

View File

@@ -265,7 +265,7 @@ func TestHTTP_ACLTokenList(t *testing.T) {
t.Fatalf("missing last contact")
}
// Check the output (includes boostrap token)
// Check the output (includes bootstrap token)
n := obj.([]*structs.ACLTokenListStub)
if len(n) != 4 {
t.Fatalf("bad: %#v", n)

View File

@@ -242,7 +242,7 @@ func TestAgent_ServerConfig(t *testing.T) {
t.Fatalf("should have set bootstrap mode")
}
if out.BootstrapExpect != 0 {
t.Fatalf("boostrap expect should be 0")
t.Fatalf("bootstrap expect should be 0")
}
conf.Server.BootstrapExpect = 3