From 53a000ea0a0655d650da09c371681eacaa6080a8 Mon Sep 17 00:00:00 2001 From: Jaylon McShan Date: Tue, 22 Oct 2024 14:00:58 -0500 Subject: [PATCH] Tidying up --- kubernetes/resource_kubernetes_job_v1.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/resource_kubernetes_job_v1.go b/kubernetes/resource_kubernetes_job_v1.go index 032c2c79be..0e50542232 100644 --- a/kubernetes/resource_kubernetes_job_v1.go +++ b/kubernetes/resource_kubernetes_job_v1.go @@ -69,10 +69,10 @@ func resourceKubernetesJobV1CustomizeDiff(ctx context.Context, d *schema.Resourc // Only check TTL if present var oldTTLStr, newTTLStr string if oldTTLRaw != nil { - oldTTLStr, _ = oldTTLRaw.(string) + oldTTLStr = oldTTLRaw.(string) } if newTTLRaw != nil { - newTTLStr, _ = newTTLRaw.(string) + newTTLStr = newTTLRaw.(string) } oldTTLInt, err := strconv.Atoi(oldTTLStr)