From 9eb8e6250d3e731d3751b32cff2392002de09acf Mon Sep 17 00:00:00 2001 From: Zeph Grunschlag Date: Thu, 29 Jun 2023 10:11:02 -0500 Subject: [PATCH] typos (#112) --- conduit/pipeline/pipeline.go | 2 +- docs/Development.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conduit/pipeline/pipeline.go b/conduit/pipeline/pipeline.go index e8c07784..95f930fb 100644 --- a/conduit/pipeline/pipeline.go +++ b/conduit/pipeline/pipeline.go @@ -354,7 +354,7 @@ func (p *pipelineImpl) Init() error { } err = (*p.exporter).Init(p.ctx, *p.initProvider, config, logger) if err != nil { - return fmt.Errorf("Pipeline.Start(): could not initialize Exporter (%s): %w", p.cfg.Exporter.Name, err) + return fmt.Errorf("Pipeline.Init(): could not initialize Exporter (%s): %w", p.cfg.Exporter.Name, err) } p.logger.Infof("Initialized Exporter: %s", p.cfg.Exporter.Name) } diff --git a/docs/Development.md b/docs/Development.md index 8a726f70..c09e6c39 100644 --- a/docs/Development.md +++ b/docs/Development.md @@ -56,7 +56,7 @@ Generally speaking, you can follow the code in one of the existing plugins. ### Init -Each plugin will have its `Init` function called once as the pipline is constructed. +Each plugin will have its `Init` function called once as the pipeline is constructed. The context provided to this function should be saved, and used to terminate any long-running operations if necessary.