Skip to content

Commit

Permalink
md5 hash type in irods plugin from constant
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Jul 6, 2023
1 parent bc2160b commit bf84149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/app/plugin/impl/irods/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func toNodeMap(cl *IrodsClient, folder string, entries []*fs.Entry, nm map[strin

func hash(cl *IrodsClient, folder, path string, nm map[string]tree.Node) (string, string, error) {
if _, ok := nm[path]; !ok {
return "md5", types.NotNeeded, nil
return types.Md5, types.NotNeeded, nil
}
checksum, err := cl.Checksum(folder + "/" + path)
if err != nil {
Expand Down

0 comments on commit bf84149

Please sign in to comment.