open-vault/builtin
Alexander Scheel ea3441333a
Fix tidy with maintain_stored_certificate_counts == publish_stored_certificate_count_metrics == false (#20664)
* Fix tidy with maintain_stored_certificate_counts == publish_stored_certificate_count_metrics == false

The logic around the check to set both to false was wrong, and should
be validated independently.

Additionally, these fields should only exist on auto-tidy and not on the
manual tidy endpoint.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Update builtin/logical/pki/path_tidy.go

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-05-19 12:09:48 +00:00
..
audit adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
credential openapi: A few fixes for display attributes (#20549) 2023-05-11 17:20:11 -04:00
logical Fix tidy with maintain_stored_certificate_counts == publish_stored_certificate_count_metrics == false (#20664) 2023-05-19 12:09:48 +00:00
plugin Simplify tracking of external plugins (#20009) 2023-04-12 18:34:35 +01:00