File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -226,8 +226,7 @@ class ControlPlane private constructor(
226226 groupChangeWatcher,
227227 executorGroup,
228228 cachedProtoResourcesSerializer,
229- System .getProperty(properties.envoy.controlPlaneIdentifierEnv) ? : UUID .randomUUID().toString()
230-
229+ properties.envoy.controlPlaneIdentifier
231230 )
232231 }
233232
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ package pl.allegro.tech.servicemesh.envoycontrol
55import pl.allegro.tech.servicemesh.envoycontrol.server.ServerProperties
66import pl.allegro.tech.servicemesh.envoycontrol.snapshot.SnapshotProperties
77import pl.allegro.tech.servicemesh.envoycontrol.synchronization.SyncProperties
8+ import java.util.UUID
89
910class EnvoyControlProperties {
1011 var server = ServerProperties ()
@@ -15,7 +16,7 @@ class EnvoyControlProperties {
1516
1617class EnvoyProperties {
1718 var snapshot = SnapshotProperties ()
18- var controlPlaneIdentifierEnv = " HOST "
19+ var controlPlaneIdentifier = UUID .randomUUID().toString()
1920}
2021
2122class ServiceFilters {
You can’t perform that action at this time.
0 commit comments