metrics.all must define metrics.get

This commit is contained in:
Clément Renault 2022-08-24 17:03:30 +02:00
parent 2c2efc7ab6
commit f0b2ac6efb
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -126,6 +126,9 @@ impl HeedAuthStore {
Action::StatsAll => { Action::StatsAll => {
actions.insert(Action::StatsGet); actions.insert(Action::StatsGet);
} }
Action::MetricsAll => {
actions.insert(Action::MetricsGet);
}
other => { other => {
actions.insert(*other); actions.insert(*other);
} }