mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-30 04:20:20 +00:00
style: Apply gofmt to 37 files
Standardize code formatting across test files and monitor.go. No functional changes.
This commit is contained in:
parent
1a5acc2542
commit
4f824ab148
37 changed files with 251 additions and 253 deletions
|
|
@ -45,8 +45,8 @@ other_key: value`,
|
|||
expected: []string{"node1", "node2", "node3"},
|
||||
},
|
||||
{
|
||||
name: "list format single item",
|
||||
input: `- single-node`,
|
||||
name: "list format single item",
|
||||
input: `- single-node`,
|
||||
expected: []string{"single-node"},
|
||||
},
|
||||
|
||||
|
|
@ -94,8 +94,8 @@ allowed_nodes:
|
|||
expected: []string{"node1", "node2"},
|
||||
},
|
||||
{
|
||||
name: "map format allowed_nodes not a list",
|
||||
input: `allowed_nodes: not-a-list`,
|
||||
name: "map format allowed_nodes not a list",
|
||||
input: `allowed_nodes: not-a-list`,
|
||||
expected: nil,
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue