Skip to content

Commit

Permalink
Fix doc comment on ClearTag
Browse files Browse the repository at this point in the history
  • Loading branch information
lostluck committed Jun 1, 2023
1 parent 103bc4f commit 9e7713a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdks/go/pkg/beam/core/timers/timers.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (et EventTime) Clear(p Provider) {
p.Set(TimerMap{Family: et.Family, Clear: true})
}

// Clear clears this timer for the given tag.
// ClearTag clears this timer for the given tag.
func (pt EventTime) ClearTag(p Provider, tag string) {
p.Set(TimerMap{Family: pt.Family, Clear: true, Tag: tag})
}
Expand Down Expand Up @@ -154,7 +154,7 @@ func (pt ProcessingTime) Clear(p Provider) {
p.Set(TimerMap{Family: pt.Family, Clear: true})
}

// Clear clears this timer for the given tag.
// ClearTag clears this timer for the given tag.
func (pt ProcessingTime) ClearTag(p Provider, tag string) {
p.Set(TimerMap{Family: pt.Family, Clear: true, Tag: tag})
}
Expand Down

0 comments on commit 9e7713a

Please sign in to comment.