Skip to content

Commit

Permalink
Backport build fix (#10781)
Browse files Browse the repository at this point in the history
* Add list peers to DR secondaries (#10746)

* Fix build (#10749)

* Move the declaration to a OSS build tag file to not have it collide w… (#10750)

* Move the declaration to a OSS build tag file to not have it collide with ent declarations

* Add comment

* Remove comment to trigger ci
  • Loading branch information
vishalnayak authored Jan 26, 2021
1 parent 02dc5a6 commit 4d4a2f1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions vault/logical_system_util.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// +build !enterprise

package vault

import (
"context"

"github.com/hashicorp/vault/sdk/framework"
"github.com/hashicorp/vault/sdk/logical"
)

func (b *SystemBackend) verifyDROperationToken(f framework.OperationFunc, lock bool) framework.OperationFunc {
return func(ctx context.Context, req *logical.Request, d *framework.FieldData) (*logical.Response, error) {
return f(ctx, req, d)
}
}

0 comments on commit 4d4a2f1

Please sign in to comment.