Skip to content

Commit 108e9d9

Browse files
gregns1bbrks
andauthored
Update db/background_mgr_attachment_migration.go
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
1 parent 788ae51 commit 108e9d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

db/background_mgr_attachment_migration.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ func (a *AttachmentMigrationManager) Init(ctx context.Context, options map[strin
6666
var statusDoc AttachmentMigrationManagerStatusDoc
6767
err := base.JSONUnmarshal(clusterStatus, &statusDoc)
6868

69-
reset, ok := options["reset"].(bool)
70-
if reset && ok {
69+
reset, _ := options["reset"].(bool)
70+
if reset {
7171
base.InfofCtx(ctx, base.KeyAll, "Attachment Migration: Resetting migration process. Will not resume any partially completed process")
7272
}
7373

0 commit comments

Comments
 (0)