style(egress): adopt go fix's promoted-field literal

This commit is contained in:
sam committed 2026-09-26 02:47:15 +10:00
1 parent 976f633773
commit 79b508d1a7
1 file changed
+2 -2
@@ -13,8 +13,8 @@ import (
func apiKey(service, phase string, required bool, name string, inject ...spec.Inject) spec.CredentialCapability {
return spec.CredentialCapability{
Credential: spec.Credential{Service: service, Phase: phase, APIKey: &spec.APIKey{Name: name, ProxyManaged: true, Inject: inject}},
Required: required,
Service: service, Phase: phase, APIKey: &spec.APIKey{Name: name, ProxyManaged: true, Inject: inject},
Required: required,
}
}