mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-19 22:28:45 +05:00
Fixed indetation
This commit is contained in:
committed by
Dan Christian Bogos
parent
710dafad8e
commit
4aae1cdcb1
@@ -60,7 +60,7 @@ func MissingStructFields(s interface{}, mandatories []string) []string {
|
||||
sType := sValue.Type()
|
||||
for _, fieldName := range mandatories {
|
||||
fldStr, ok := sType.FieldByName(fieldName)
|
||||
if !ok || fieldByIndexIsEmpty(sValue, fldStr.Index){
|
||||
if !ok || fieldByIndexIsEmpty(sValue, fldStr.Index) {
|
||||
missing = append(missing, fieldName)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user