Merge branch 'master' into jaeger_exporter_import

This commit is contained in:
Brian Goff
2019-07-23 11:15:42 -07:00
committed by GitHub
7 changed files with 14 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 {