@@ -11,14 +11,14 @@ import (
1111 "github.com/ipfs/go-blockservice"
1212 "github.com/ipfs/go-datastore"
1313 "github.com/ipfs/go-filestore"
14- "github.com/ipfs/go-ipfs-blockstore"
15- "github.com/ipfs/go-ipfs-exchange-offline"
14+ blockstore "github.com/ipfs/go-ipfs-blockstore"
15+ offline "github.com/ipfs/go-ipfs-exchange-offline"
1616 "github.com/ipfs/go-ipfs-pinner/pinconv"
1717 "github.com/ipfs/go-ipfs/plugin/loader"
1818 "github.com/ipfs/go-ipfs/repo"
1919 "github.com/ipfs/go-ipfs/repo/fsrepo"
2020 "github.com/ipfs/go-ipfs/repo/fsrepo/migrations"
21- "github.com/ipfs/go-ipld-format"
21+ format "github.com/ipfs/go-ipld-format"
2222 "github.com/ipfs/go-merkledag"
2323
2424 migrate "github.com/ipfs/fs-repo-migrations/tools/go-migrate"
@@ -88,7 +88,7 @@ func (m Migration) Apply(opts migrate.Options) error {
8888
8989 err = migrations .WriteRepoVersion (opts .Path , toVer )
9090 if err != nil {
91- return fmt .Errorf ("failed to update version file to %s : %v" , toVer , err )
91+ return fmt .Errorf ("failed to update version file to %d : %v" , toVer , err )
9292 }
9393
9494 log .Print ("updated version file" )
0 commit comments