mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
chore: modernize some code
This commit is contained in:
@@ -69,7 +69,7 @@ func TestOrchestratorConfig(t *testing.T) {
|
||||
var got any
|
||||
got = gotYAML
|
||||
i := 0
|
||||
for _, component := range strings.Split(path, ".") {
|
||||
for component := range strings.SplitSeq(path, ".") {
|
||||
var ok bool
|
||||
i++
|
||||
switch gotConcrete := got.(type) {
|
||||
|
||||
Reference in New Issue
Block a user