add todo comment: update micro/cli to support StringSlice flags destination

This commit is contained in:
A.Unger
2020-03-06 17:25:18 +01:00
committed by Ilja Neumann
parent 8324842805
commit 868db44531
+5
View File
@@ -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).