Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
damienmulder committed Feb 28, 2025
1 parent 4837455 commit 2226cb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/service/providers/pingdom.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,10 @@ func (m *PingdomUptimeProvider) checkToJSON(check model.UptimeCheck, includeType
// update messages shouldn't include 'type', since the type of check can't be modified in Pingdom.
message["type"] = "http"
}
if m.settings.UserIDs != nil && len(m.settings.UserIDs) > 0 {
if len(m.settings.UserIDs) > 0 {
message["userids"] = m.settings.UserIDs
}
if m.settings.IntegrationIDs != nil && len(m.settings.IntegrationIDs) > 0 {
if len(m.settings.IntegrationIDs) > 0 {
message["integrationids"] = m.settings.IntegrationIDs
}

Expand Down

0 comments on commit 2226cb0

Please sign in to comment.