Skip to content

Commit

Permalink
Remove pt value from error output
Browse files Browse the repository at this point in the history
  • Loading branch information
calvn authored and jefferai committed Dec 3, 2018
1 parent c893488 commit 8919388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/seal_autoseal.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (d *autoSeal) GetStoredKeys(ctx context.Context) ([][]byte, error) {
// Decode the barrier entry
var keys [][]byte
if err := json.Unmarshal(pt, &keys); err != nil {
return nil, fmt.Errorf("failed to decode stored keys: %v, plaintext was %q", err, pe.Value)
return nil, fmt.Errorf("failed to decode stored keys: %v", err)
}

return keys, nil
Expand Down

0 comments on commit 8919388

Please sign in to comment.