replaced use of Vault with Repository

This commit is contained in:
Jarek Kowalski
2017-07-18 13:39:26 +02:00
parent 50c2cd86a3
commit 4dcdb69dcc
21 changed files with 54 additions and 99 deletions

View File

@@ -43,12 +43,12 @@ func runMountCommand(context *kingpin.ParseContext) error {
fuse.VolumeName("Kopia"),
)
oid, err := parseObjectID(*mountObjectID, conn.Vault, conn.Repository)
oid, err := parseObjectID(*mountObjectID, conn)
if err != nil {
return err
}
entry := repofs.Directory(conn.Repository, oid)
entry := repofs.Directory(conn, oid)
if *mountTraceFS {
entry = loggingfs.Wrap(entry).(fs.Directory)
}