Skip to content

Commit

Permalink
filter_kubernetes: use new hashtable prototype
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Nov 17, 2017
1 parent 6d4f483 commit 891485c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/filter_kubernetes/kube_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 891485c

Please sign in to comment.