Skip to content

Commit

Permalink
Merge branch 'master' into billing-snapshot-config
Browse files Browse the repository at this point in the history
  • Loading branch information
manukm-ibm authored Oct 12, 2023
2 parents 13cee70 + 412550a commit fe272e9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,9 @@ func resourceIbmSmPublicCertificateMapToSecretPrototype(d *schema.ResourceData)
model.Dns = core.StringPtr(d.Get("dns").(string))
}
}
if _, ok := d.GetOk("bundle_certs"); ok {
model.BundleCerts = core.BoolPtr(d.Get("bundle_certs").(bool))
bundleCerts, ok := d.GetOkExists("bundle_certs")
if ok {
model.BundleCerts = core.BoolPtr(bundleCerts.(bool))
}
if _, ok := d.GetOk("rotation"); ok {
RotationModel, err := resourceIbmSmPublicCertificateMapToPublicCertificateRotationPolicy(d.Get("rotation").([]interface{})[0].(map[string]interface{}))
Expand Down

0 comments on commit fe272e9

Please sign in to comment.