Skip to content

Commit

Permalink
Remove some useless logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Jan 20, 2020
1 parent e38e9ef commit dc4d39e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5 h1:58fnuSXlxZmFdJyvtTFVmV
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200117160349-530e935923ad h1:Jh8cai0fqIK+f6nG0UgPW5wFk8wmiMhM3AyciDBdtQg=
golang.org/x/crypto v0.0.0-20200117160349-530e935923ad/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/image v0.0.0-20200119044424-58c23975cae1 h1:5h3ngYt7+vXCDZCup/HkCQgW5XwmSvR/nA2JmJ0RErg=
golang.org/x/image v0.0.0-20200119044424-58c23975cae1/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
Expand Down
3 changes: 0 additions & 3 deletions model/vfs/couchdb_indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"github.com/cozy/cozy-stack/pkg/consts"
"github.com/cozy/cozy-stack/pkg/couchdb"
"github.com/cozy/cozy-stack/pkg/couchdb/mango"
"github.com/cozy/cozy-stack/pkg/logger"
"github.com/cozy/cozy-stack/pkg/prefixer"
)

Expand Down Expand Up @@ -248,8 +247,6 @@ func (c *couchdbIndexer) moveDir(oldpath, newpath string) error {
docs := make([]interface{}, 0, limit)
olddocs := make([]interface{}, 0, limit)

logger.WithDomain(c.db.DomainName()).WithField("nspace", "vfs-indexer").
Infof("Move dir %s to %s", oldpath, newpath)
if oldpath+"/" == newpath {
return nil
}
Expand Down
1 change: 0 additions & 1 deletion worker/exec/konnector.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ func (w *konnectorWorker) ensureFolderToSave(ctx *job.WorkerContext, inst *insta
dirID := ""
for _, row := range res.Rows {
dir := &vfs.DirDoc{}
fmt.Printf("row = %v\n", row)
if err := couchdb.GetDoc(inst, consts.Files, row.ID, dir); err == nil {
if !strings.HasPrefix(dir.Fullpath, vfs.TrashDirName) {
count++
Expand Down

0 comments on commit dc4d39e

Please sign in to comment.