do not log inputs as they may contain secrets
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
e6bb3f12f4
commit
56ea7e3991
@ -41,7 +41,6 @@ var computeCmd = &cobra.Command{
|
|||||||
if err := env.SetUpdater(updater.Value()); err != nil {
|
if err := env.SetUpdater(updater.Value()); err != nil {
|
||||||
lg.Fatal().Err(err).Msg("invalid updater script")
|
lg.Fatal().Err(err).Msg("invalid updater script")
|
||||||
}
|
}
|
||||||
lg.Debug().Str("input", input.Value().SourceUnsafe()).Msg("setting input")
|
|
||||||
if err := env.SetInput(input.Value()); err != nil {
|
if err := env.SetInput(input.Value()); err != nil {
|
||||||
lg.Fatal().Err(err).Msg("invalid input")
|
lg.Fatal().Err(err).Msg("invalid input")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user