Skip to content

Commit 0e1055b

Browse files
authored
Merge pull request #126 from kubernetes-client/automated-generate-00807b1d
Automated Generate from openapi release-1.24
2 parents 70fef17 + 1b43ec1 commit 0e1055b

File tree

309 files changed

+11289
-15938
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

309 files changed

+11289
-15938
lines changed

examples/create_pod/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void create_a_pod(apiClient_t * apiClient)
2323
v1_container_t *con = calloc(1, sizeof(v1_container_t));
2424
con->name = strdup("my-container");
2525
con->image = strdup("ubuntu:latest");
26-
con->image_pull_policy = kubernetes_v1_container_IMAGEPULLPOLICY_IfNotPresent;
26+
con->image_pull_policy = strdup("IfNotPresent");
2727

2828
/* set command for container */
2929
list_t *commandlist = list_createList();

examples/multi_thread/create_pod.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static void create_a_pod(apiClient_t * apiClient)
1818
v1_container_t *con = calloc(1, sizeof(v1_container_t));
1919
con->name = strdup("my-container");
2020
con->image = strdup("ubuntu:latest");
21-
con->image_pull_policy = kubernetes_v1_container_IMAGEPULLPOLICY_IfNotPresent;
21+
con->image_pull_policy = strdup("IfNotPresent");
2222

2323
/* set command for container */
2424
list_t *commandlist = list_createList();

kubernetes/.openapi-generator/COMMIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Requested Commit: master
2-
Actual Commit: 86ead27a409bf88118148d5dc11cb74915742347
2+
Actual Commit: 6cd246931e5e48469c793b31162640eadd1c5e7f

0 commit comments

Comments
 (0)