Skip to content

Commit 35cdaf3

Browse files
committed
feat: improve credential_process allowlist warning message
1 parent 2710b8f commit 35cdaf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/granted/awsmerge/merge_from_registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func WithRegistry(src *ini.File, dst *ini.File, opts RegistryOpts) (*ini.File, e
134134
// Check credential_process allowlist for registry profiles
135135
if sec.HasKey("credential_process") {
136136
if !isCredentialProcessAllowed(sec.Key("credential_process").Value(), opts.AllowedCredentialProcesses) {
137-
clio.Warnf("registry profile %s has a credential_process not in the allowlist, skipping: %s",
137+
clio.Warnf("skipping registry profile %q: credential_process not in allowlist (%q)",
138138
strings.TrimPrefix(sec.Name(), "profile "), sec.Key("credential_process").Value())
139139
continue
140140
}

0 commit comments

Comments
 (0)