Skip to content

countAlerts prints no count #56

@nickidw

Description

@nickidw

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 :

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions