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

fix: allow http body types in the Base runner return #354

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

elliottneilclark
Copy link
Contributor

@elliottneilclark elliottneilclark commented Jan 8, 2025

Summary:

Add existing body_t to return_t for Client.Runner.Base. This allows the base runner to return binary data. This happens when asking for a subresource.

Fixes: #352

Summary:
- This should fix coryodaniel#352
- Allow binary as a return value from the base runner, because sub
  resource types will have non-resource results. Eg. Logs from
  `pods/log` are binary in whatever enconding the log decided to spit
  out. It can't be parsed as json since it might not even be utf-8

Test Plan:
- `mix binary`
@mruoss mruoss merged commit 68c96d9 into coryodaniel:develop Jan 8, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

K8s.Client.Runner.Base typespec is too strict
2 participants