diff --git a/metadata/providers/memory/options.go b/metadata/providers/memory/options.go index 6b8c2a15..87c0b90c 100644 --- a/metadata/providers/memory/options.go +++ b/metadata/providers/memory/options.go @@ -63,7 +63,7 @@ func WithValidateStatus(validate bool) Option { // known types the authenticator can produce. Default is true. func WithValidateAttestationTypes(validate bool) Option { return func(provider *Provider) (err error) { - provider.status = validate + provider.attestation = validate return nil }