Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

countAlerts prints no count #56

Open
nickidw opened this issue Apr 23, 2024 · 1 comment
Open

countAlerts prints no count #56

nickidw opened this issue Apr 23, 2024 · 1 comment

Comments

@nickidw
Copy link

nickidw commented Apr 23, 2024

If I use countAlerts to return the number of alerts, it does not print out the number of alerts as expected. Changing countAlerts to listAlerts lists the expected alerts.

2024/04/23 14:20:29 INFO: Logging to file is disabled, To enable Logging to file Please specify logPath in configuration
INFO[2024-04-23T14:20:29.2690752+02:00] Client is configured with ApiUrl: api.opsgenie.com, LogLevel: info, RetryMaxCount: 4
2024/04/23 14:20:29 DEBUG : Alert Client created.
2024/04/23 14:20:29 DEBUG : Count alerts request prepared from flags, sending request to Opsgenie..
2024/04/23 14:20:30 INFO :

@nickidw
Copy link
Author

nickidw commented Apr 23, 2024

Fixed by #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant