From f613d3ce6d53f74127833922c80bad44dc3f73e3 Mon Sep 17 00:00:00 2001 From: Pasha Sviderski Date: Tue, 22 Jul 2025 18:53:05 +1000 Subject: [PATCH] chore: reformat code --- Makefile | 4 ++-- test/e2e/machine_test.go | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index e88db1e9..cebc4c9c 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/test/e2e/machine_test.go b/test/e2e/machine_test.go index 156601b6..5595c81e 100644 --- a/test/e2e/machine_test.go +++ b/test/e2e/machine_test.go @@ -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