Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,13 @@ func LoadGlobalConfigMerged() error {
}
} else {
log.EarlyLogger.BasicLogf("merging in config from %s", cfgLoaded.File)

serializedConfig, err := GetConfigString(cfgLoaded.Cfg, "", "yaml")
if err != nil {
return fmt.Errorf("failed to serialize config: %w", err)
}
log.EarlyLogger.BasicLogf("Config data: %s", serializedConfig)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we put a newline after Config data:? looks a bit awkward to have the first YAML key on the same line as the log message.


if err := MergeConfigIntoParser(ko, cfgLoaded.Cfg); err != nil {
return fmt.Errorf("failed to merge config: %w", err)
}
Expand Down
Loading