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

Commented out printf statements in the generic client. #226

Merged
merged 2 commits into from
Mar 12, 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
5 changes: 0 additions & 5 deletions kubernetes/src/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ char* callInternal(genericClient_t *client,
{
apiClient_invoke(client->client, path, queryParameters, headerParameters, formParameters, headerType, contentType, body, method);

if (client->client->response_code == 200) {
printf("%s\n","OK");
}
if (client->client->response_code == 401) {
printf("%s\n","Unauthorized");
return NULL;
}
char* elementToReturn = strndup((char*)client->client->dataReceived, client->client->dataReceivedLen);
Expand Down Expand Up @@ -138,7 +134,6 @@ char* Generic_createNamespacedResource(genericClient_t *client, const char *ns,
char* Generic_createResource(genericClient_t *client, const char* body) {
char path[128];
makeResourcePath(path, client, "");
printf("%s\n", path);
return callSimplifiedInternal(client, path, "POST", body);
}

Expand Down
Loading