Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: formatting #166

Merged
merged 1 commit into from
Nov 19, 2024
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
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
Loading