We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a30d3e commit a3c457fCopy full SHA for a3c457f
1 file changed
plugins/filter_kubernetes/kube_conf.c
@@ -243,11 +243,6 @@ void flb_kube_conf_destroy(struct flb_kube *ctx)
243
if (ctx->kube_api_upstream) {
244
flb_upstream_destroy(ctx->kube_api_upstream);
245
}
246
-
247
- if (ctx->aws_pod_association_tls) {
248
- flb_tls_destroy(ctx->aws_pod_association_tls);
249
- }
250
251
if (ctx->aws_pod_association_upstream) {
252
flb_upstream_destroy(ctx->aws_pod_association_upstream);
253
@@ -256,6 +251,10 @@ void flb_kube_conf_destroy(struct flb_kube *ctx)
256
flb_free(ctx->platform);
257
258
254
+ if (ctx->aws_pod_association_tls) {
255
+ flb_tls_destroy(ctx->aws_pod_association_tls);
+ }
+
259
#ifdef FLB_HAVE_TLS
260
if (ctx->tls) {
261
flb_tls_destroy(ctx->tls);
0 commit comments