From 4bcd4f6b985839d3c8ded31cad0906cd09875ba3 Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Fri, 17 Nov 2017 14:32:49 -0800 Subject: [PATCH] filter_kubernetes: use new hashtable prototype Signed-off-by: Eduardo Silva --- plugins/filter_kubernetes/kube_conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;