Skip to content

Commit

Permalink
Forward requests for rotate-root on Performance secondary / standbys (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
catsby committed Aug 17, 2020
1 parent 043c71e commit c1c82ad
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions builtin/logical/aws/path_config_rotate_root.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ import (
func pathConfigRotateRoot(b *backend) *framework.Path {
return &framework.Path{
Pattern: "config/rotate-root",
Callbacks: map[logical.Operation]framework.OperationFunc{
logical.UpdateOperation: b.pathConfigRotateRootUpdate,
Operations: map[logical.Operation]framework.OperationHandler{
logical.UpdateOperation: &framework.PathOperation{
Callback: b.pathConfigRotateRootUpdate,
ForwardPerformanceStandby: true,
ForwardPerformanceSecondary: true,
},
},

HelpSynopsis: pathConfigRotateRootHelpSyn,
Expand Down

0 comments on commit c1c82ad

Please sign in to comment.