Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

update 1.5 sync urls #259 #260

Merged
merged 7 commits into from
Oct 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dont log on error
  • Loading branch information
ddvk committed Oct 15, 2022
commit 85a582fe354669c0f87fc2d19500b13896b62077
3 changes: 1 addition & 2 deletions api/sync15/apictx.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,8 @@ func Sync(b *BlobStorage, tree *HashTree, operation func(t *HashTree) error) err

newGeneration, err := b.WriteRootIndex(tree.Hash, tree.Generation)

log.Info.Println("wrote root, new gen: ", newGeneration)

if err == nil {
log.Info.Println("wrote root, new gen: ", newGeneration)
tree.Generation = newGeneration
break
}
Expand Down