From eb617865d2430de378e28b9bde83cd5a17796aa8 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 1 Feb 2024 15:13:33 +0100 Subject: [PATCH] lib/model: Typo in method name (fixes #9389) --- lib/model/model.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/model/model.go b/lib/model/model.go index 1607b379d..487dff7dc 100644 --- a/lib/model/model.go +++ b/lib/model/model.go @@ -839,7 +839,7 @@ func newFolderCompletion(global, need db.Counts, sequence int64, state remoteFol Sequence: sequence, RemoteState: state, } - comp.setComplectionPct() + comp.setCompletionPct() return comp } @@ -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 {