Skip to content

Commit

Permalink
fix return err
Browse files Browse the repository at this point in the history
Summary:

Test Plan:
  • Loading branch information
imdominicreed committed Jan 10, 2025
1 parent e29072b commit c62d085
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sdk/tdf.go
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,6 @@ func (r *Reader) doPayloadKeyUnwrap(ctx context.Context) error { //nolint:gocogn
Error: err,
})
}

}

reqs, err := createRewrapRequest(ctx, r)
Expand All @@ -1080,7 +1079,6 @@ func (r *Reader) doPayloadKeyUnwrap(ctx context.Context) error { //nolint:gocogn
if !ok {
err = fmt.Errorf("could not find policy in rewrap response")
reqFail(err, req)
return err
}
kaoResults = append(kaoResults, result...)
}
Expand Down

0 comments on commit c62d085

Please sign in to comment.