mirror of https://github.com/status-im/consul.git
Remove log line about server mgmt token init (#15610)
* Remove log line about server mgmt token init Currently the server management token is only being bootstrapped in the primary datacenter. That means that servers on the secondary datacenter will never have this token available, and would log this line any time a token is resolved. Bootstrapping the token in secondary datacenters will be done in a follow-up. * Add changelog entry
This commit is contained in:
parent
7e78fb7818
commit
941f6da202
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
acl: avoid debug log spam in secondary datacenter servers due to management token not being initialized.
|
||||
```
|
|
@ -116,7 +116,6 @@ func (s *serverACLResolverBackend) IsServerManagementToken(token string) bool {
|
|||
return false
|
||||
}
|
||||
if mgmt == "" {
|
||||
s.logger.Debug("server management token has not been initialized")
|
||||
return false
|
||||
}
|
||||
return subtle.ConstantTimeCompare([]byte(mgmt), []byte(token)) == 1
|
||||
|
|
Loading…
Reference in New Issue