From c5d125428bcdc679d781f522983f86eb6a516e2b Mon Sep 17 00:00:00 2001 From: Fred Carle Date: Fri, 31 Mar 2023 23:21:24 -0400 Subject: [PATCH] fix lint --- db/collection_delete.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/db/collection_delete.go b/db/collection_delete.go index ae1999a9f5..bdbb09a682 100644 --- a/db/collection_delete.go +++ b/db/collection_delete.go @@ -229,14 +229,12 @@ func (c *collection) applyDelete( if !status.IsDeleted() { return NewErrInvalidDeleteStatus(status) } - fmt.Println(key) found, isDeleted, err := c.exists(ctx, txn, key) if err != nil { return err } if !found || isDeleted { - fmt.Println("not found") return client.ErrDocumentNotFound } @@ -248,8 +246,6 @@ func (c *collection) applyDelete( ) cids, _, err := headset.List(ctx) if err != nil { - fmt.Println("headset err") - return err } @@ -271,17 +267,12 @@ func (c *collection) applyDelete( status, ) if err != nil { - fmt.Println("save crdt err") - return err } if c.db.events.Updates.HasValue() { - fmt.Println("before publish") txn.OnSuccess( func() { - fmt.Println("publish") - c.db.events.Updates.Value().Publish( events.Update{ DocKey: key.DocKey,