Skip to content

Commit

Permalink
Tidying up
Browse files Browse the repository at this point in the history
  • Loading branch information
JaylonmcShan03 committed Oct 22, 2024
1 parent d98c221 commit 53a000e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes/resource_kubernetes_job_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 53a000e

Please sign in to comment.