Skip to content

Commit

Permalink
Bugfix: check metadata checksums properly
Browse files Browse the repository at this point in the history
  • Loading branch information
moio committed Apr 30, 2018
1 parent 20cb1c2 commit 7586b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (r *Syncer) processMetadata(checksumMap map[string]XMLChecksum) (packagesTo
decision := r.decide(metadataLocation, metadataChecksum, checksumMap)
switch decision {
case Download:
err = r.downloadStore(metadataLocation, path.Base(metadataLocation))
err = r.downloadStoreApply(metadataLocation, metadataChecksum.Checksum, path.Base(metadataLocation), hashMap[metadataChecksum.Type], util.Nop)
if err != nil {
return
}
Expand Down

0 comments on commit 7586b53

Please sign in to comment.