Skip to content

Commit

Permalink
Change env loader to use WithEnvLiteralLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
predictiple committed Jan 8, 2025
1 parent bd198b2 commit 70aeb16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func makeDefaultConfigLoader() *config.Loader {
WithTempdir(*tempdir_flag).
WithFileLoader(*config_path).
WithEmbedded(*embedded_config_path).
WithEnvLoader("VELOCIRAPTOR_CONFIG").
WithEnvLiteralLoader("VELOCIRAPTOR_CONFIG").
WithConfigMutator("Mutator mergeFlagConfig",
func(config_obj *config_proto.Config) error {
return mergeFlagConfig(config_obj, default_config)
Expand Down

0 comments on commit 70aeb16

Please sign in to comment.