mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
website: document ACL bootstrap reset process
This commit is contained in:
@@ -176,7 +176,7 @@ func (a *TestAgent) Start() *TestAgent {
|
||||
if a.Config.ACL.Enabled && a.Config.Server.Enabled && a.Config.ACL.PolicyTTL != 0 {
|
||||
a.Token = mock.ACLManagementToken()
|
||||
state := a.Agent.server.State()
|
||||
if err := state.BootstrapACLTokens(1, a.Token); err != nil {
|
||||
if err := state.BootstrapACLTokens(1, 0, a.Token); err != nil {
|
||||
panic(fmt.Sprintf("token bootstrap failed: %v", err))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user