You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lo...@apache.org on 2023/06/06 18:04:33 UTC
[beam] 01/01: Lint fixes: receiver consistency.
This is an automated email from the ASF dual-hosted git repository.
lostluck pushed a commit to branch lostluck-patch-3
in repository https://gitbox.apache.org/repos/asf/beam.git
commit 56b08883424ed6c5b990f2b8c83bf125633f5ee4
Author: Robert Burke <lo...@users.noreply.github.com>
AuthorDate: Tue Jun 6 11:04:20 2023 -0700
Lint fixes: receiver consistency.
---
sdks/go/pkg/beam/core/timers/timers.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdks/go/pkg/beam/core/timers/timers.go b/sdks/go/pkg/beam/core/timers/timers.go
index e05b414f5bf..9e188dcbc69 100644
--- a/sdks/go/pkg/beam/core/timers/timers.go
+++ b/sdks/go/pkg/beam/core/timers/timers.go
@@ -120,8 +120,8 @@ func (et EventTime) Clear(p Provider) {
}
// 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})
+func (et EventTime) ClearTag(p Provider, tag string) {
+ p.Set(TimerMap{Family: et.Family, Clear: true, Tag: tag})
}
// ProcessingTime represents the processing time timer.