Skip to content

Commit

Permalink
update sdk to v0.15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcraig committed Feb 26, 2025
1 parent b559fd4 commit d0c6dca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.9
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2
github.com/hashicorp/vault/api v1.16.0
github.com/hashicorp/vault/sdk v0.15.1
github.com/hashicorp/vault/sdk v0.15.2
github.com/mitchellh/mapstructure v1.5.0
github.com/ory/dockertest/v3 v3.11.0
github.com/stretchr/testify v1.10.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ github.com/hashicorp/hcl v1.0.1-vault-5 h1:kI3hhbbyzr4dldA8UdTb7ZlVVlI2DACdCfz31
github.com/hashicorp/hcl v1.0.1-vault-5/go.mod h1:XYhtn6ijBSAj6n4YqAaf7RBPS4I06AItNorpy+MoQNM=
github.com/hashicorp/vault/api v1.16.0 h1:nbEYGJiAPGzT9U4oWgaaB0g+Rj8E59QuHKyA5LhwQN4=
github.com/hashicorp/vault/api v1.16.0/go.mod h1:KhuUhzOD8lDSk29AtzNjgAu2kxRA9jL9NAbkFlqvkBA=
github.com/hashicorp/vault/sdk v0.15.1 h1:Y8CkijkR2UfFfVLO4J58JP4A4NAaxvafyjlZvzt0hu4=
github.com/hashicorp/vault/sdk v0.15.1/go.mod h1:2Wj2tHIgfz0gNWgEPWBbCXFIiPrq96E8FTjPNV9J1Bc=
github.com/hashicorp/vault/sdk v0.15.2 h1:Rp5Yp4lyBhlWgq24ZVb2n/YN47RKOAvmx/jlMfS9ku4=
github.com/hashicorp/vault/sdk v0.15.2/go.mod h1:2Wj2tHIgfz0gNWgEPWBbCXFIiPrq96E8FTjPNV9J1Bc=
github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE=
github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ=
github.com/jcmturner/aescts/v2 v2.0.0 h1:9YKLH6ey7H4eDBXW8khjYslgyqG2xZikXP0EQFKrle8=
Expand Down
4 changes: 2 additions & 2 deletions path_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func (b *backend) configCreateUpdateOperation(ctx context.Context, req *logical.
// set up rotation after everything is fine
var rotOp string
if conf.ShouldDeregisterRotationJob() {
rotOp = "deregistration"
rotOp = rotation.PerformedDeregistration
deregisterReq := &rotation.RotationJobDeregisterRequest{
MountPoint: req.MountPoint,
ReqPath: req.Path,
Expand All @@ -214,7 +214,7 @@ func (b *backend) configCreateUpdateOperation(ctx context.Context, req *logical.
return logical.ErrorResponse("error de-registering rotation job: %s", err), nil
}
} else if conf.ShouldRegisterRotationJob() {
rotOp = "registration"
rotOp = rotation.PerformedRegistration
req := &rotation.RotationJobConfigureRequest{
Name: rootRotationJobName,
MountPoint: req.MountPoint,
Expand Down

0 comments on commit d0c6dca

Please sign in to comment.