@@ -1172,7 +1172,7 @@ func TestAccKubernetesPodV1_config_container_working_dir(t *testing.T) {
11721172 Config : testAccKubernetesPodV1ConfigWorkingDir (podName , imageName , "/www" ),
11731173 Check : resource .ComposeAggregateTestCheckFunc (
11741174 testAccCheckKubernetesPodV1Exists (resourceName , & confPod ),
1175- resource .TestCheckResourceAttr (resourceName , "metadata.0.generation" , "0 " ),
1175+ resource .TestCheckResourceAttr (resourceName , "metadata.0.generation" , "1 " ),
11761176 resource .TestCheckResourceAttr (resourceName , "spec.0.container.0.working_dir" , "/www" ),
11771177 ),
11781178 },
@@ -1186,7 +1186,7 @@ func TestAccKubernetesPodV1_config_container_working_dir(t *testing.T) {
11861186 Config : testAccKubernetesPodV1ConfigWorkingDir (podName , imageName , "/srv" ),
11871187 Check : resource .ComposeAggregateTestCheckFunc (
11881188 testAccCheckKubernetesPodV1Exists (resourceName , & confPod ),
1189- resource .TestCheckResourceAttr (resourceName , "metadata.0.generation" , "0 " ),
1189+ resource .TestCheckResourceAttr (resourceName , "metadata.0.generation" , "1 " ),
11901190 resource .TestCheckResourceAttr (resourceName , "spec.0.container.0.working_dir" , "/srv" ),
11911191 ),
11921192 },
0 commit comments