Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in_calyptia_fleet: fleet id search by name must use exact name. #9561

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/in_calyptia_fleet/in_calyptia_fleet.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ static int get_calyptia_fleet_id_by_name(struct flb_in_calyptia_fleet_config *ct
return -1;
}

flb_sds_printf(&url, "/v1/search?project_id=%s&resource=fleet&term=%s",
flb_sds_printf(&url, "/v1/search?project_id=%s&resource=fleet&term=%s&exact=true",
project_id, ctx->fleet_name);

client = fleet_http_do(ctx, url);
Expand Down
Loading