File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ $(LINT_TARGETS): _lint
108
108
lint : ARGS=
109
109
lint-and-fix : ARGS=--fix
110
110
_lint :
111
- # Explicitly set OS to Linux to not skip *_linux.go files when running on macOS.
112
- # Uncloud daemon won't likely support OS other than Linux anytime soon, so for now we can rely on that.
111
+ # Explicitly set OS to Linux to not skip *_linux.go files when running on macOS.
112
+ # Uncloud daemon won't likely support OS other than Linux anytime soon, so for now we can rely on that.
113
113
GOOS=linux golangci-lint run $(ARGS)
114
114
115
115
.PHONY : docs-image-push
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ func TestMachineRename(t *testing.T) {
30
30
// Select the second machine to rename
31
31
originalMachine := machines [1 ]
32
32
originalName := originalMachine .Machine .Name
33
- // nolint:goconst
34
33
newName := "renamed-machine-1"
35
34
36
35
// Rename the machine
@@ -223,8 +222,6 @@ func TestUpdateMachine(t *testing.T) {
223
222
// Select a machine to update
224
223
targetMachine := machines [1 ]
225
224
originalName := targetMachine .Machine .Name
226
- //TODO: From my point of view, the most correct option is to use exclusions.rules list for `_test\.go$` files
227
- // nolint:goconst
228
225
newName := "updated-machine-name"
229
226
230
227
// Update the machine name using UpdateMachine directly
You can’t perform that action at this time.
0 commit comments