Skip to content

Commit 21f1bd7

Browse files
authored
Show profile when using default value (#75)
Show the profile name when using the default profile. The name is not shown when the `-p` flag is passed. Resolves #40
1 parent f697f12 commit 21f1bd7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

builder/manager.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ func (m *Manager) SetProfile(profile string) error {
139139
// Passed an empty profile from the CLI flags, so set our default profile
140140
// as the one to use.
141141
if profile == "" {
142+
slog.Info("Using default profile", "name", m.Config.DefaultProfile)
143+
142144
profile = m.Config.DefaultProfile
143145
}
144146

0 commit comments

Comments
 (0)