Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Bremgartner <[email protected]>
  • Loading branch information
breml committed Nov 19, 2024
1 parent 829ebb7 commit afdf0ae
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions internal/image/resource_image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ resource "incus_image" "img1vm" {
source_image = {
remote = "images"
name = "alpine/edge"
type = "virtual-machine"
type = "virtual-machine"
copy_aliases = true
}
}
Expand Down Expand Up @@ -471,8 +471,8 @@ resource "incus_instance" "inst" {
name = "root"
type = "disk"
properties = {
pool = "default"
path = "/"
pool = "default"
path = "/"
}
}
}
Expand All @@ -491,7 +491,7 @@ resource "incus_image" "img1" {
source_image = {
remote = "images"
name = "alpine/edge"
architecture = "%s"
architecture = "%s"
}
}
`, project, architecture)
Expand All @@ -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
}
}
Expand Down Expand Up @@ -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
}
}
Expand Down
2 changes: 1 addition & 1 deletion internal/instance/resource_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit afdf0ae

Please sign in to comment.