Enable stats collection when pilot is enabled
This commit is contained in:
parent
05333b9579
commit
af04e92cf2
2 changed files with 7 additions and 0 deletions
|
@ -224,6 +224,11 @@ func (c *Configuration) SetEffectiveConfiguration() {
|
|||
}
|
||||
}
|
||||
|
||||
// Enable anonymous usage when pilot is enabled.
|
||||
if c.Pilot != nil && c.Pilot.Token != "" {
|
||||
c.Global.SendAnonymousUsage = true
|
||||
}
|
||||
|
||||
c.initACMEProvider()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue