Skip to content

Commit eb82468

Browse files
vakwetuclaude
andcommitted
[federation] Remove redundant default filter in hook_controlplane_config
Address non-blocking review suggestion from evallesp on ci-framework PR #3766. Remove the redundant trailing | default('custom-ca-certs', true) from the _federation_ca_bundle_secret_name fact. The preceding cifmw_custom_ca_certs_secret_name | default('custom-ca-certs', true) already guarantees a non-empty value, making the outer default a no-op. Signed-off-by: Ade Lee <alee@redhat.com> Co-Authored-By: Claude <noreply@anthropic.com> Made-with: Cursor
1 parent a3af9bc commit eb82468

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

roles/federation/tasks/hook_controlplane_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
{{
5050
((_federation_oscp_info.resources | first).spec.tls | default({})).caBundleSecretName
5151
| default(cifmw_custom_ca_certs_secret_name | default('custom-ca-certs', true), true)
52-
| default('custom-ca-certs', true)
5352
}}
5453
_federation_oscp_has_ca_bundle: >-
5554
{{

0 commit comments

Comments
 (0)