rename WithTracing -> Start (better api)

This commit is contained in:
A.Unger
2020-01-10 11:51:03 +01:00
parent e43478c2ca
commit 1aefa43f86
3 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ func Server(cfg *config.Config) cli.Command {
Action: func(c *cli.Context) error {
logger := NewLogger(cfg)
if err := tracing.WithTracing(cfg); err != nil {
if err := tracing.Start(cfg); err != nil {
return err
}

View File

@@ -31,7 +31,7 @@ func Simple(cfg *config.Config) cli.Command {
Action: func(c *cli.Context) error {
logger := NewLogger(cfg)
if err := tracing.WithTracing(cfg); err != nil {
if err := tracing.Start(cfg); err != nil {
return err
}