add todo comment: update micro/cli to support StringSlice flags destination
This commit is contained in:
@@ -35,6 +35,7 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
}
|
||||
|
||||
// StringSliceFlag doesn't support Destination
|
||||
// UPDATE Destination on string flags supported. Wait for https://github.com/urfave/cli/pull/1078 to get to micro/cli
|
||||
if len(c.StringSlice("trusted-proxy")) > 0 {
|
||||
cfg.Konnectd.TrustedProxy = c.StringSlice("trusted-proxy")
|
||||
}
|
||||
@@ -83,6 +84,10 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
},
|
||||
)
|
||||
|
||||
logger.Info().
|
||||
Str("collector", cfg.Tracing.Collector).
|
||||
Msg("Trace collector added")
|
||||
|
||||
if err != nil {
|
||||
logger.Error().
|
||||
Err(err).
|
||||
|
||||
Reference in New Issue
Block a user