1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00

internal/server/helpers.go: add a comment in empty for loop (as i almost removed it because it was empty)

This commit is contained in:
Henrik Hautakoski 2024-08-11 13:03:55 +02:00
parent ecdde63f68
commit 4bf589647c

View file

@ -113,6 +113,7 @@ func isVariant(v reflect.Value) bool {
}
for v = v.Index(0); v.Kind() == reflect.Interface || v.Kind() == reflect.Pointer; v = v.Elem() {
// Intentionally empty
}
return v.Kind() == reflect.String && isVariantName(v.String())