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:
parent
ecdde63f68
commit
4bf589647c
1 changed files with 1 additions and 0 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue