diff --git a/plugins/filter_kubernetes/kube_conf.c b/plugins/filter_kubernetes/kube_conf.c index 7e1b5698658..58e68aea299 100644 --- a/plugins/filter_kubernetes/kube_conf.c +++ b/plugins/filter_kubernetes/kube_conf.c @@ -169,7 +169,8 @@ struct flb_kube *flb_kube_conf_create(struct flb_filter_instance *i, ctx->api_https ? "https" : "http", ctx->api_host, ctx->api_port); - ctx->hash_table = flb_hash_create(FLB_HASH_TABLE_SIZE); + ctx->hash_table = flb_hash_create(FLB_HASH_TABLE_SIZE, + FLB_HASH_EVICT_NONE, -1); if (!ctx->hash_table) { flb_kube_conf_destroy(ctx); return NULL;