diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c827ddf..3346f59 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,7 +60,7 @@ jobs: INCUS_TOKEN=$(incus config trust add terraform --quiet) incus remote add localhost "${INCUS_TOKEN}" - + incus remote add docker https://docker.io --protocol=oci - name: Configure OVN diff --git a/internal/image/resource_image_test.go b/internal/image/resource_image_test.go index 5459338..f659e61 100644 --- a/internal/image/resource_image_test.go +++ b/internal/image/resource_image_test.go @@ -342,7 +342,7 @@ resource "incus_image" "img1vm" { source_image = { remote = "images" name = "alpine/edge" - type = "virtual-machine" + type = "virtual-machine" copy_aliases = true } } @@ -471,8 +471,8 @@ resource "incus_instance" "inst" { name = "root" type = "disk" properties = { - pool = "default" - path = "/" + pool = "default" + path = "/" } } } @@ -491,7 +491,7 @@ resource "incus_image" "img1" { source_image = { remote = "images" name = "alpine/edge" - architecture = "%s" + architecture = "%s" } } `, project, architecture) @@ -513,8 +513,8 @@ func testAccImage_sourceInstance(projectName, instanceName string) string { resource "incus_project" "project1" { name = "%[1]s" config = { - "features.images" = false - "features.profiles" = false + "features.images" = false + "features.profiles" = false } } @@ -542,8 +542,8 @@ func testAccImage_sourceInstanceWithSnapshot(projectName, instanceName string) s resource "incus_project" "project1" { name = "%[1]s" config = { - "features.images" = false - "features.profiles" = false + "features.images" = false + "features.profiles" = false } } diff --git a/internal/instance/resource_instance.go b/internal/instance/resource_instance.go index 308ddce..2275864 100644 --- a/internal/instance/resource_instance.go +++ b/internal/instance/resource_instance.go @@ -1301,7 +1301,7 @@ func waitForState(ctx context.Context, refreshFunc retry.StateRefreshFunc, targe // isInstanceOperational determines if an instance is fully operational based // on its state. It returns true if the instance is running and the reported -// process count is positive. Checking for a positive process count is esential +// process count is positive. Checking for a positive process count is essential // for virtual machines, which can report this metric only if the Incus agent has // started and has established a connection to the Incus server. func isInstanceOperational(s api.InstanceState) bool {