typo fixed: scanner.Run() -> scanner.Errors()

This commit is contained in:
Özgür Kesim 2020-01-19 02:26:15 +01:00
parent 8005624fac
commit 5b967134e8

View File

@ -36,7 +36,7 @@ func main() {
time.Sleep(10 * time.Second) time.Sleep(10 * time.Second)
scanner.Stop() scanner.Stop()
err = scanner.Run() err = scanner.Errors()
if err != nil { if err != nil {
fmt.Printf("Failed to run the symbolyze scanner: %s", err) fmt.Printf("Failed to run the symbolyze scanner: %s", err)
os.Exit(1) os.Exit(1)