(zw *zip.Writer)
| 400 | } |
| 401 | |
| 402 | func (cli *cliSupport) dumpProfiles(zw *zip.Writer) { |
| 403 | fmt.Fprintln(os.Stdout, "Collecting crowdsec profile") |
| 404 | |
| 405 | cfg := cli.cfg() |
| 406 | cli.writeFileToZip(zw, SUPPORT_CROWDSEC_PROFILE_PATH, cfg.API.Server.ProfilesPath) |
| 407 | } |
| 408 | |
| 409 | func (cli *cliSupport) dumpAcquisitionConfig(zw *zip.Writer) { |
| 410 | fmt.Fprintln(os.Stdout, "Collecting acquisition config") |
no test coverage detected