Skip to content

Commit

Permalink
remove unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmiller committed Jan 10, 2025
1 parent f92fcd4 commit e55ab18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrappers/transit/transit.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ func (s *Wrapper) SetConfig(_ context.Context, opt ...wrapping.Option) (*wrappin
s.client = client
s.keyIdPrefix = opts.withKeyIdPrefix

/*if client.mountPath == "transit-1" {
if client.mountPath == "transit-1" {
return nil, errors.New("transit-1 unavailable")
}*/
}
// Send a value to test the wrapper and to set the current key id
if _, err := s.Encrypt(context.Background(), []byte("a")); err != nil {
client.Close()
Expand Down

0 comments on commit e55ab18

Please sign in to comment.