diff --git a/internal/infrastructure/egress/credentials_test.go b/internal/infrastructure/egress/credentials_test.go index e2805a5ce..4e2398b5c 100644 --- a/internal/infrastructure/egress/credentials_test.go +++ b/internal/infrastructure/egress/credentials_test.go @@ -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, } }