Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
steinwaywhw authored Nov 6, 2024
1 parent e628e85 commit fb8945f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf-generator/app/k8-cron-job.go
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ func flattenConfigMapRef(in *corev1.ConfigMapEnvSource, confMapBody *hclwrite.Bo
}
if in.Optional != nil {
att["optional"] = *in.Optional
confMapBody.SetAttributeValue("name", cty.BoolVal(*in.Optional))
confMapBody.SetAttributeValue("optional", cty.BoolVal(*in.Optional))

}
return []interface{}{att}
Expand Down

0 comments on commit fb8945f

Please sign in to comment.