Commit 3a56f2f8 authored by 魏灿's avatar 魏灿

error fix

parent 48625c9a
......@@ -29,7 +29,7 @@ func HostsToJson() (data map[string][]string, err error) {
}
}
if s.Err() != nil {
return nil, err
return nil, s.Err()
}
return data, nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment