Skip to content

Commit

Permalink
Fix DB root rotation replication issue (#8106)
Browse files Browse the repository at this point in the history
* Fix DB root rotation replication issue

* Rebase and switch to new path forward options
  • Loading branch information
michelvocks authored Jan 9, 2020
1 parent 9167ee7 commit 45adc78
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions builtin/logical/database/path_rotate_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ func pathRotateCredentials(b *databaseBackend) []*framework.Path {
},
},

Callbacks: map[logical.Operation]framework.OperationFunc{
logical.UpdateOperation: b.pathRotateCredentialsUpdate(),
Operations: map[logical.Operation]framework.OperationHandler{
logical.UpdateOperation: &framework.PathOperation{
Callback: b.pathRotateCredentialsUpdate(),
ForwardPerformanceSecondary: true,
ForwardPerformanceStandby: true,
},
},

HelpSynopsis: pathCredsCreateReadHelpSyn,
Expand Down

0 comments on commit 45adc78

Please sign in to comment.