File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ void create_a_pod(apiClient_t * apiClient)
23
23
v1_container_t * con = calloc (1 , sizeof (v1_container_t ));
24
24
con -> name = strdup ("my-container" );
25
25
con -> image = strdup ("ubuntu:latest" );
26
- con -> image_pull_policy = kubernetes_v1_container_IMAGEPULLPOLICY_IfNotPresent ;
26
+ con -> image_pull_policy = strdup ( "IfNotPresent" ) ;
27
27
28
28
/* set command for container */
29
29
list_t * commandlist = list_createList ();
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ static void create_a_pod(apiClient_t * apiClient)
18
18
v1_container_t * con = calloc (1 , sizeof (v1_container_t ));
19
19
con -> name = strdup ("my-container" );
20
20
con -> image = strdup ("ubuntu:latest" );
21
- con -> image_pull_policy = kubernetes_v1_container_IMAGEPULLPOLICY_IfNotPresent ;
21
+ con -> image_pull_policy = strdup ( "IfNotPresent" ) ;
22
22
23
23
/* set command for container */
24
24
list_t * commandlist = list_createList ();
You can’t perform that action at this time.
0 commit comments