Skip to content

Commit

Permalink
Remove prefix for exception paths; add sys/internal/ui/mounts (#9512) (
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnayak committed Jul 17, 2020
1 parent 678aece commit e1a7bc1
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions vault/quotas/quotas_rate_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ const (

func init() {
rateLimitExemptPaths.AddPaths([]string{
"/v1/sys/generate-recovery-token/attempt",
"/v1/sys/generate-recovery-token/update",
"/v1/sys/generate-root/attempt",
"/v1/sys/generate-root/update",
"/v1/sys/health",
"/v1/sys/seal-status",
"/v1/sys/unseal",
"sys/internal/ui/mounts",
"sys/generate-recovery-token/attempt",
"sys/generate-recovery-token/update",
"sys/generate-root/attempt",
"sys/generate-root/update",
"sys/health",
"sys/seal-status",
"sys/unseal",
})
}

Expand Down

0 comments on commit e1a7bc1

Please sign in to comment.