mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
logs and user messages: use "parse" and "serialize" instead of marshal/unmarshal (#3240)
This commit is contained in:
parent
1591a0c46e
commit
ce085dc4cd
56 changed files with 87 additions and 87 deletions
|
@ -545,7 +545,7 @@ func Detect(detectReader io.Reader, opts DetectOptions) (Setup, error) {
|
|||
// }
|
||||
// err = yaml.Unmarshal(svc.AcquisYAML, svc.DataSource)
|
||||
// if err != nil {
|
||||
// return Setup{}, fmt.Errorf("while unmarshaling datasource for service %s: %w", name, err)
|
||||
// return Setup{}, fmt.Errorf("while parsing datasource for service %s: %w", name, err)
|
||||
// }
|
||||
// }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue