Update authority/options.go

Co-authored-by: Mariano Cano <mariano@smallstep.com>
This commit is contained in:
Max 2022-05-19 22:26:20 -07:00 committed by GitHub
parent bfb406bf70
commit 586e4fd3b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -267,6 +267,8 @@ func WithAdminDB(d admin.DB) Option {
} }
// WithProvisioners is an option to set the provisioner collection. // WithProvisioners is an option to set the provisioner collection.
//
// Deprecated: provisioner collections will likely change
func WithProvisioners(ps *provisioner.Collection) Option { func WithProvisioners(ps *provisioner.Collection) Option {
return func(a *Authority) error { return func(a *Authority) error {
a.provisioners = ps a.provisioners = ps