Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
mjarmy committed Jun 12, 2020
1 parent 3066b51 commit 594bccf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions vault/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"errors"
"fmt"
"net/url"
"runtime/debug"
"sync/atomic"

wrapping "github.com/hashicorp/go-kms-wrapping"
Expand Down Expand Up @@ -417,10 +416,6 @@ func (c *Core) UnsealWithStoredKeys(ctx context.Context) error {
c.unsealWithStoredKeysLock.Lock()
defer c.unsealWithStoredKeysLock.Unlock()

fmt.Printf("--------------------------------------------------------------------------\n")
fmt.Printf("Core.UnsealWithStoredKeys\n")
debug.PrintStack()

if c.seal.BarrierType() == wrapping.Shamir {
return nil
}
Expand Down

0 comments on commit 594bccf

Please sign in to comment.