Skip to content

Commit

Permalink
global: Update for shared/archive
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Sep 13, 2023
1 parent eab1ee9 commit 93fd183
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmd/incus/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"github.com/spf13/cobra"

"github.com/lxc/incus/client"
"github.com/lxc/incus/internal/archive"
cli "github.com/lxc/incus/internal/cmd"
"github.com/lxc/incus/internal/i18n"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/archive"
)

type cmdExport struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/incus/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import (
"gopkg.in/yaml.v2"

"github.com/lxc/incus/client"
"github.com/lxc/incus/internal/archive"
cli "github.com/lxc/incus/internal/cmd"
"github.com/lxc/incus/internal/i18n"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/archive"
"github.com/lxc/incus/shared/subprocess"
"github.com/lxc/incus/shared/termios"
)
Expand Down
2 changes: 1 addition & 1 deletion incusd/backup/backup_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"io"

"github.com/lxc/incus/incusd/sys"
"github.com/lxc/incus/internal/archive"
"github.com/lxc/incus/shared/archive"
)

// TarReader rewinds backup file handle r and returns new tar reader and process cleanup function.
Expand Down
2 changes: 1 addition & 1 deletion incusd/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ import (
"github.com/lxc/incus/incusd/ucred"
"github.com/lxc/incus/incusd/util"
"github.com/lxc/incus/incusd/warnings"
"github.com/lxc/incus/internal/archive"
"github.com/lxc/incus/internal/idmap"
"github.com/lxc/incus/internal/version"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/archive"
"github.com/lxc/incus/shared/cancel"
"github.com/lxc/incus/shared/logger"
"github.com/lxc/incus/shared/proxy"
Expand Down
2 changes: 1 addition & 1 deletion incusd/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ import (
storagePools "github.com/lxc/incus/incusd/storage"
"github.com/lxc/incus/incusd/task"
"github.com/lxc/incus/incusd/util"
"github.com/lxc/incus/internal/archive"
"github.com/lxc/incus/internal/filter"
"github.com/lxc/incus/internal/jmap"
"github.com/lxc/incus/internal/version"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/archive"
"github.com/lxc/incus/shared/ioprogress"
"github.com/lxc/incus/shared/logger"
"github.com/lxc/incus/shared/osarch"
Expand Down
2 changes: 1 addition & 1 deletion incusd/instances_post.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ import (
"github.com/lxc/incus/incusd/scriptlet"
"github.com/lxc/incus/incusd/state"
storagePools "github.com/lxc/incus/incusd/storage"
"github.com/lxc/incus/internal/archive"
"github.com/lxc/incus/internal/version"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
apiScriptlet "github.com/lxc/incus/shared/api/scriptlet"
"github.com/lxc/incus/shared/archive"
"github.com/lxc/incus/shared/logger"
"github.com/lxc/incus/shared/osarch"
)
Expand Down
2 changes: 1 addition & 1 deletion incusd/storage/drivers/driver_btrfs_volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"github.com/lxc/incus/incusd/operations"
"github.com/lxc/incus/incusd/revert"
"github.com/lxc/incus/incusd/storage/filesystem"
"github.com/lxc/incus/internal/archive"
"github.com/lxc/incus/internal/instancewriter"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/archive"
"github.com/lxc/incus/shared/ioprogress"
"github.com/lxc/incus/shared/logger"
"github.com/lxc/incus/shared/subprocess"
Expand Down
2 changes: 1 addition & 1 deletion incusd/storage/drivers/driver_zfs_volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (
"github.com/lxc/incus/incusd/operations"
"github.com/lxc/incus/incusd/revert"
"github.com/lxc/incus/incusd/storage/filesystem"
"github.com/lxc/incus/internal/archive"
"github.com/lxc/incus/internal/instancewriter"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/archive"
"github.com/lxc/incus/shared/ioprogress"
"github.com/lxc/incus/shared/logger"
"github.com/lxc/incus/shared/subprocess"
Expand Down
2 changes: 1 addition & 1 deletion incusd/storage/drivers/generic_vfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import (
"github.com/lxc/incus/incusd/state"
"github.com/lxc/incus/incusd/storage/filesystem"
"github.com/lxc/incus/incusd/sys"
"github.com/lxc/incus/internal/archive"
"github.com/lxc/incus/internal/instancewriter"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/archive"
"github.com/lxc/incus/shared/ioprogress"
"github.com/lxc/incus/shared/logger"
)
Expand Down
2 changes: 1 addition & 1 deletion incusd/storage/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"github.com/lxc/incus/incusd/state"
"github.com/lxc/incus/incusd/storage/drivers"
"github.com/lxc/incus/incusd/sys"
"github.com/lxc/incus/internal/archive"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/archive"
"github.com/lxc/incus/shared/ioprogress"
"github.com/lxc/incus/shared/logger"
"github.com/lxc/incus/shared/validate"
Expand Down
2 changes: 1 addition & 1 deletion incusd/storage_volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ import (
"github.com/lxc/incus/incusd/state"
storagePools "github.com/lxc/incus/incusd/storage"
"github.com/lxc/incus/incusd/util"
"github.com/lxc/incus/internal/archive"
"github.com/lxc/incus/internal/filter"
"github.com/lxc/incus/internal/version"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/archive"
"github.com/lxc/incus/shared/logger"
localtls "github.com/lxc/incus/shared/tls"
)
Expand Down

0 comments on commit 93fd183

Please sign in to comment.