INNER CODE UNIT · Go
op2
ozontech/file.d · cfg/config.go:516
op2 := strings.TrimSpace(vField.String()[pos+1:])
op1_, err := strconv.Atoi(op1)
if err != nil {
has := false
op1_, has = values[op1]
if !has {
return fmt.Errorf("can't find value for %q in expression", op1)
}
}
op2_, err := strconv.Atoi(op2)
if err != nil {
has := false
op2_, has = values[op2]
if !has {
return fmt.Errorf("can't find value for %q in expression", op2)
}