Skip to content

Commit

Permalink
lib/model: Typo in method name (fixes #9389)
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh committed Feb 1, 2024
1 parent a49e318 commit eb61786
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/model/model.go
Expand Up @@ -839,7 +839,7 @@ func newFolderCompletion(global, need db.Counts, sequence int64, state remoteFol
Sequence: sequence,
RemoteState: state,
}
comp.setComplectionPct()
comp.setCompletionPct()
return comp
}

Expand All @@ -849,10 +849,10 @@ func (comp *FolderCompletion) add(other FolderCompletion) {
comp.GlobalItems += other.GlobalItems
comp.NeedItems += other.NeedItems
comp.NeedDeletes += other.NeedDeletes
comp.setComplectionPct()
comp.setCompletionPct()
}

func (comp *FolderCompletion) setComplectionPct() {
func (comp *FolderCompletion) setCompletionPct() {
if comp.GlobalBytes == 0 {
comp.CompletionPct = 100
} else {
Expand Down

0 comments on commit eb61786

Please sign in to comment.