Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit cdc9250

Browse files
fix: forgot to declare variable before using
Signed-off-by: Lin Yang <[email protected]>
1 parent a033fff commit cdc9250

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
-3 Bytes
Binary file not shown.

charts/erie-canal/components/scripts/ingress/plugins/balancer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
_serviceCertChain: null,
6868
_servicePrivateKey: null,
6969
_connectTLS: null,
70+
_mTLS: null,
7071

7172
_serviceCache: null,
7273
_targetCache: null,
@@ -133,7 +134,7 @@
133134
_mTLS = _connectTLS && Boolean(_serviceCertChain) && Boolean(_servicePrivateKey),
134135

135136
console.log("[balancer] _sourceIP", _sourceIP),
136-
console.log("[balancer] _connectTLS", _connectTLS, "_mTLS", _mTLS),
137+
console.log("[balancer] _connectTLS", _connectTLS),
137138
console.log("[balancer] _target.id", (_target || {id : ''}).id)
138139
)
139140
)

0 commit comments

Comments
 (0)