diff --git a/README.adoc b/README.adoc index 67791e11..e14f007d 100644 --- a/README.adoc +++ b/README.adoc @@ -884,11 +884,9 @@ Fabric8 Leader Implementation ---- ==== -==== - To specify the name of the configmap used for leader election use the following property. ==== -[source] +[source,properties] ---- spring.cloud.kubernetes.leader.config-map-name=leader ---- diff --git a/docs/src/main/asciidoc/leader-election.adoc b/docs/src/main/asciidoc/leader-election.adoc index 474b1eb6..0a03a764 100644 --- a/docs/src/main/asciidoc/leader-election.adoc +++ b/docs/src/main/asciidoc/leader-election.adoc @@ -20,11 +20,9 @@ Fabric8 Leader Implementation ---- ==== -==== - To specify the name of the configmap used for leader election use the following property. ==== -[source] +[source,properties] ---- spring.cloud.kubernetes.leader.config-map-name=leader ----