fix several typo

Signed-off-by: zhuangqh <zhuangqhc@gmail.com>
This commit is contained in:
jerryzhuang
2019-07-16 20:55:56 +08:00
committed by zhuangqh
parent d3ff785e08
commit 0ba0200067
7 changed files with 11 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ func NewCommand(s *provider.Store) *cobra.Command {
fmt.Fprintln(cmd.OutOrStderr(), "no such provider", args[0])
// TODO(@cpuuy83): would be nice to not short-circuit the exit here
// But at the momemt this seems to be the only way to exit non-zero and
// But at the moment this seems to be the only way to exit non-zero and
// handle our own error output
os.Exit(1)
}

View File

@@ -39,7 +39,7 @@ func RegisterTracingExporter(name string, f TracingExporterInitFunc) {
}
// GetTracingExporter gets the specified tracing exporter passing in the options to the exporter init function.
// For an exporter to be availbale here it must be registered with `RegisterTracingExporter`.
// For an exporter to be available here it must be registered with `RegisterTracingExporter`.
func GetTracingExporter(name string, opts TracingExporterOptions) (trace.Exporter, error) {
f, ok := tracingExporters[name]
if !ok {