mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
cscli: improved hub management (#3352)
This commit is contained in:
parent
466f39b880
commit
a1d26bdc5b
61 changed files with 3138 additions and 2672 deletions
|
@ -116,7 +116,7 @@ func Hub(c *csconfig.Config, remote *cwhub.RemoteHubCfg, logger *logrus.Logger)
|
|||
}
|
||||
|
||||
if err := hub.Load(); err != nil {
|
||||
return nil, fmt.Errorf("failed to read Hub index: %w. Run 'sudo cscli hub update' to download the index again", err)
|
||||
return nil, fmt.Errorf("failed to read hub index: %w. Run 'sudo cscli hub update' to download the index again", err)
|
||||
}
|
||||
|
||||
return hub, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue