Commit d799248
committed
fix: remove unused Insecure field incorrectly assigned KeycloackEnable value
The Insecure field in microcksClient was being assigned from
configCtx.Server.KeycloackEnable (a Keycloak auth flag) which is
semantically unrelated to TLS insecurity. Since the Insecure field
was never read anywhere in the codebase after assignment, it was
effectively dead code.
This commit removes both the unused Insecure field from the
microcksClient struct and its incorrect assignment in NewClient.
The InsecureTLS field already correctly handles TLS skip-verify
behavior via configCtx.Server.InsecureTLS.
Fixes #4341 parent ee58a76 commit d799248
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
| |||
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
138 | | - | |
| 137 | + | |
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
| |||
0 commit comments