Skip to content

Commit fb89d7f

Browse files
authored
Merge pull request quarkusio#47506 from rsvoboda/tls.code.example
Fix syntax highlighting in Reloading certificates of tls-registry-reference guide
2 parents 0072dcd + 68b9ebc commit fb89d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/main/asciidoc/tls-registry-reference.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ After a `TlsConfiguration` has been reloaded, servers and clients using this con
795795
The recommended approach for informing clients and servers about the certificate reload is to fire a CDI event of type `io.quarkus.tls.CertificateUpdatedEvent`.
796796
To do so, inject a CDI event of this type and fire it when a reload occurs.
797797

798-
. Manually triggering a reload and firing a `CertificateUpdatedEvent`:
798+
.An example of manually reloading a TLS configuration and notifying components by firing a `CertificateUpdatedEvent` and reacting to it:
799799
[source,java]
800800
----
801801
// in the class that performs the reload

0 commit comments

Comments
 (0)