Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cmd/migration-manager-worker/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (

"github.com/google/uuid"
incusAPI "github.com/lxc/incus/v7/shared/api"
"github.com/lxc/incus/v7/shared/osinfo"
"github.com/lxc/incus/v7/shared/subprocess"
"github.com/stretchr/testify/require"

Expand All @@ -34,7 +35,7 @@ var errGracefulEndOfTest = fmt.Errorf("graceful end of test")
type instanceDetails struct {
Location string
OSType api.OSType
Distro api.Distro
Distro osinfo.Distro
DistroVersion string
}

Expand Down Expand Up @@ -291,7 +292,7 @@ func TestRun(t *testing.T) {
},
instanceSpec: instanceDetails{
OSType: api.OSTYPE_WINDOWS,
Distro: api.DISTRO_OTHER,
Distro: osinfo.OtherDistro,
DistroVersion: "invalid",
},

Expand Down
46 changes: 22 additions & 24 deletions go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading