mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
chore: reformat code
This commit is contained in:
@@ -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