Enable the metrics store

This commit is contained in:
Torjus Håkestad 2021-10-28 16:38:33 +02:00
parent 47f3ae2b81
commit 03525cdad8

View File

@ -82,6 +82,8 @@ func ActionServe(c *cli.Context) error {
return fmt.Errorf("Invalid store configured") return fmt.Errorf("Invalid store configured")
} }
s = store.NewMetricsCollectingStore(s)
// Setup honeypot // Setup honeypot
hs, err := ssh.NewHoneypotServer(cfg.Honeypot, s) hs, err := ssh.NewHoneypotServer(cfg.Honeypot, s)
if err != nil { if err != nil {