kubernetes-client / c

Official C client library for Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove printf from internal function

homer6 opened this issue · comments

The generic client is working well, however there's a quick tweak that I think would be useful.

Using the generic client, I'm seeing printf to stdout in the 200-level case and the 400-level case.

Would prefer if it didn't write to stdout. The response code is retrievable from the api_client, so I can handle it in the application.

if (client->client->response_code == 200) {

Yeah, I think it is fine to send a PR to remove those printfs.