Skip to content

Commit

Permalink
fix go vet
Browse files Browse the repository at this point in the history
Signed-off-by: Marina Moore <mnm678@gmail.com>
  • Loading branch information
mnm678 committed Dec 6, 2021
1 parent 3442e35 commit 819834f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ func (c *Client) VerifyDigest(digest string, digestAlg string, length int64, pat
return err
}

if err := util.TargetFileMetaEqual(data.TargetFileMeta{actual}, localMeta); err != nil {
if err := util.TargetFileMetaEqual(data.TargetFileMeta{FileMeta: actual}, localMeta); err != nil {
if e, ok := err.(util.ErrWrongLength); ok {
return ErrWrongSize{path, e.Actual, e.Expected}
}
Expand Down

0 comments on commit 819834f

Please sign in to comment.