Skip to content

Commit

Permalink
chore: fix codeQL alert
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-new-relic committed Apr 25, 2024
1 parent 688c2b9 commit 47a3bcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions newrelic/resource_helpers_synthetics.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ func getCertCheckMonitorValuesFromEntityTags(tags []entities.EntityTag) (domain

if tag.Key == "daysUntilExpiration" {
// Parse string to integer
days, _ := strconv.ParseInt(tag.Values[0], 10, 64)
daysUntilExpiration = int(days)
days := tag.Values[0]
daysUntilExpiration, _ = strconv.Atoi(days)
}
}

Expand Down

0 comments on commit 47a3bcc

Please sign in to comment.