This is an automated email from the ASF dual-hosted git repository. lostluck pushed a commit to branch lostluck-typofix in repository https://gitbox.apache.org/repos/asf/beam.git
commit 44b005e430751e4c2075597fbf6835f983980820 Author: Robert Burke <lostl...@users.noreply.github.com> AuthorDate: Thu Oct 14 11:31:22 2021 -0700 Update hooks.go Fix typos in hooks godoc. --- sdks/go/pkg/beam/core/util/hooks/hooks.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdks/go/pkg/beam/core/util/hooks/hooks.go b/sdks/go/pkg/beam/core/util/hooks/hooks.go index 3a14ae3..c06e378 100644 --- a/sdks/go/pkg/beam/core/util/hooks/hooks.go +++ b/sdks/go/pkg/beam/core/util/hooks/hooks.go @@ -234,7 +234,7 @@ func (r *registry) EnableHook(name string, args ...string) error { return nil } -// EnableHook enables the hook to be run for the pipline. It will be +// EnableHook enables the hook to be run for the pipeline. It will be // receive the supplied args when the pipeline executes. // Repeat calls for the same hook will overwrite previous args, // and move the hook to the end of the ordering. @@ -273,7 +273,7 @@ func (r *registry) DisableHook(name string) { r.disableHook(name) } -// DisableHook disables the hook to be run for the pipline, deleting previous options. +// DisableHook disables the hook to be run for the pipeline, deleting previous options. func DisableHook(name string) { defaultRegistry.DisableHook(name) }