Skip to content

Commit

Permalink
Merge pull request #226 from homer6/master
Browse files Browse the repository at this point in the history
Commented out printf statements in the generic client.
  • Loading branch information
k8s-ci-robot committed Mar 12, 2024
2 parents d0763b6 + c7ca96c commit 07648ed
Showing 1 changed file with 0 additions and 5 deletions.
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

0 comments on commit 07648ed

Please sign in to comment.