chore: reformat code

This commit is contained in:
Pasha Sviderski
2025-07-22 18:53:05 +10:00
parent 2c3bea64e5
commit f613d3ce6d
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ $(LINT_TARGETS): _lint
lint: ARGS=
lint-and-fix: ARGS=--fix
_lint:
# Explicitly set OS to Linux to not skip *_linux.go files when running on macOS.
# Uncloud daemon won't likely support OS other than Linux anytime soon, so for now we can rely on that.
# Explicitly set OS to Linux to not skip *_linux.go files when running on macOS.
# Uncloud daemon won't likely support OS other than Linux anytime soon, so for now we can rely on that.
GOOS=linux golangci-lint run $(ARGS)
.PHONY: docs-image-push
-3
View File
@@ -30,7 +30,6 @@ func TestMachineRename(t *testing.T) {
// Select the second machine to rename
originalMachine := machines[1]
originalName := originalMachine.Machine.Name
// nolint:goconst
newName := "renamed-machine-1"
// Rename the machine
@@ -223,8 +222,6 @@ func TestUpdateMachine(t *testing.T) {
// Select a machine to update
targetMachine := machines[1]
originalName := targetMachine.Machine.Name
//TODO: From my point of view, the most correct option is to use exclusions.rules list for `_test\.go$` files
// nolint:goconst
newName := "updated-machine-name"
// Update the machine name using UpdateMachine directly