From 209e68ba8ac85e69a8105068897e839490f2eb51 Mon Sep 17 00:00:00 2001 From: Aayush Subramaniam Date: Sun, 26 May 2024 11:00:54 +0530 Subject: [PATCH] Added changelog and fixed lint in test --- .changelog/2493.txt | 3 +++ kubernetes/resource_kubernetes_stateful_set_v1_test.go | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .changelog/2493.txt diff --git a/.changelog/2493.txt b/.changelog/2493.txt new file mode 100644 index 0000000000..c0cc1771f5 --- /dev/null +++ b/.changelog/2493.txt @@ -0,0 +1,3 @@ +```release-note:improvement +resource/resource_kubernetes_stateful_set_v1: Add support for `min_ready_seconds` +``` \ No newline at end of file diff --git a/kubernetes/resource_kubernetes_stateful_set_v1_test.go b/kubernetes/resource_kubernetes_stateful_set_v1_test.go index acba27986e..97cd2b5d69 100644 --- a/kubernetes/resource_kubernetes_stateful_set_v1_test.go +++ b/kubernetes/resource_kubernetes_stateful_set_v1_test.go @@ -539,7 +539,7 @@ func testAccKubernetesStatefulSetV1ConfigBasic(name, imageName string) string { } spec { - min_ready_seconds = 10 + min_ready_seconds = 10 pod_management_policy = "OrderedReady" replicas = 1 revision_history_limit = 11 @@ -892,7 +892,7 @@ func testAccKubernetesStatefulSetV1ConfigUpdateMinReadySeconds(name string, imag } spec { - min_ready_seconds = %d + min_ready_seconds = %d pod_management_policy = "OrderedReady" replicas = 1 revision_history_limit = 11