caddytls: Remove ManageSync

This seems unnecessary for now and we can always add it in later if
people have a good reason to need it.
This commit is contained in:
Matthew Holt 2020-03-26 14:02:29 -06:00
parent c87f82f0ce
commit ea3688e1c0
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
3 changed files with 5 additions and 20 deletions

View file

@ -97,15 +97,6 @@ type AutomationPolicy struct {
// load.
OnDemand bool `json:"on_demand,omitempty"`
// If true, certificate management will be conducted
// in the foreground; this will block config reloads
// and return errors if there were problems with
// obtaining or renewing certificates. This is often
// not desirable, especially when serving sites out
// of your control. Default: false
// TODO: is this really necessary per-policy? why not a global setting...
ManageSync bool `json:"manage_sync,omitempty"`
// Issuer stores the decoded issuer parameters. This is only
// used to populate an underlying certmagic.Config's Issuer
// field; it is not referenced thereafter.