forked from TrueCloudLab/certificates
Update authority/options.go
Co-authored-by: Mariano Cano <mariano@smallstep.com>
This commit is contained in:
parent
bfb406bf70
commit
586e4fd3b5
1 changed files with 2 additions and 0 deletions
|
@ -267,6 +267,8 @@ func WithAdminDB(d admin.DB) Option {
|
|||
}
|
||||
|
||||
// WithProvisioners is an option to set the provisioner collection.
|
||||
//
|
||||
// Deprecated: provisioner collections will likely change
|
||||
func WithProvisioners(ps *provisioner.Collection) Option {
|
||||
return func(a *Authority) error {
|
||||
a.provisioners = ps
|
||||
|
|
Loading…
Reference in a new issue