]> Sergey Matveev's repositories - btrtrc.git/blobdiff - storage/bolt.go
gofumpt
[btrtrc.git] / storage / bolt.go
index 72644c43527e05bdf8681601ab9559a8be6728fe..945b24995db936df6b401f3eb546c36c2d2d14d2 100644 (file)
@@ -30,7 +30,7 @@ type boltTorrent struct {
 }
 
 func NewBoltDB(filePath string) ClientImplCloser {
-       db, err := bbolt.Open(filepath.Join(filePath, "bolt.db"), 0600, &bbolt.Options{
+       db, err := bbolt.Open(filepath.Join(filePath, "bolt.db"), 0o600, &bbolt.Options{
                Timeout: time.Second,
        })
        expect.Nil(err)