mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
chore: reformat code
This commit is contained in:
1 parent
2c3bea64e5
commit
f613d3ce6d
1 file changed
-3
@@ -30,7 +30,6 @@ func TestMachineRename(t *testing.T) {
|
|||||||
// Select the second machine to rename
|
// Select the second machine to rename
|
||||||
originalMachine := machines[1]
|
originalMachine := machines[1]
|
||||||
originalName := originalMachine.Machine.Name
|
originalName := originalMachine.Machine.Name
|
||||||
// nolint:goconst
|
|
||||||
newName := "renamed-machine-1"
|
newName := "renamed-machine-1"
|
||||||
|
|
||||||
// Rename the machine
|
// Rename the machine
|
||||||
@@ -223,8 +222,6 @@ func TestUpdateMachine(t *testing.T) {
|
|||||||
// Select a machine to update
|
// Select a machine to update
|
||||||
targetMachine := machines[1]
|
targetMachine := machines[1]
|
||||||
originalName := targetMachine.Machine.Name
|
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"
|
newName := "updated-machine-name"
|
||||||
|
|
||||||
// Update the machine name using UpdateMachine directly
|
// Update the machine name using UpdateMachine directly
|
||||||
|
|||||||
Reference in new issue
Block a user