Skip to content

Commit

Permalink
fix: Typo in event time range
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreZiviani committed Apr 3, 2023
1 parent b10e587 commit ac8cbf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exporter/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (m *Metrics) GetOrgEvents() []HealthEvent {
m.health,
&health.DescribeEventsForOrganizationInput{
Filter: &healthTypes.OrganizationEventFilter{
EndTime: &healthTypes.DateTimeRange{
LastUpdatedTime: &healthTypes.DateTimeRange{
From: &m.lastScrape,
To: &now,
},
Expand Down
2 changes: 1 addition & 1 deletion exporter/single.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (m *Metrics) GetEvents() []HealthEvent {
m.health,
&health.DescribeEventsInput{
Filter: &healthTypes.EventFilter{
EndTimes: []healthTypes.DateTimeRange{
LastUpdatedTimes: []healthTypes.DateTimeRange{
{
From: &m.lastScrape,
To: &now,
Expand Down

0 comments on commit ac8cbf6

Please sign in to comment.