diff --git a/go.mod b/go.mod index 3ee160d4d7..f3736398ed 100644 --- a/go.mod +++ b/go.mod @@ -24,7 +24,7 @@ require ( github.com/IBM/ibm-hpcs-uko-sdk v0.0.20-beta github.com/IBM/keyprotect-go-client v0.12.2 github.com/IBM/networking-go-sdk v0.44.0 - github.com/IBM/platform-services-go-sdk v0.56.3 + github.com/IBM/platform-services-go-sdk v0.59.0 github.com/IBM/project-go-sdk v0.2.1 github.com/IBM/push-notifications-go-sdk v0.0.0-20210310100607-5790b96c47f5 github.com/IBM/scc-go-sdk/v5 v5.1.4 diff --git a/go.sum b/go.sum index 4364bf42b6..0278aa5fab 100644 --- a/go.sum +++ b/go.sum @@ -158,8 +158,8 @@ github.com/IBM/mqcloud-go-sdk v0.0.4 h1:gqMpoU5a0qJ0GETG4PQrkgeEEoaQLvbxRJnEe6yt github.com/IBM/mqcloud-go-sdk v0.0.4/go.mod h1:gQptHC6D+rxfg0muRFFGvTDmvl4YfiDE0uXkaRRewRk= github.com/IBM/networking-go-sdk v0.44.0 h1:6acyMd6hwxcjK3bJ2suiUBTjzg8mRFAvYD76zbx0adk= github.com/IBM/networking-go-sdk v0.44.0/go.mod h1:XtqYRInR5NHmFUXhOL6RovpDdv6PnJfZ1lPFvssA8MA= -github.com/IBM/platform-services-go-sdk v0.56.3 h1:DQ1VMQSknhPsdT7d+AybKiZT82esczAkHCIBkwYubzQ= -github.com/IBM/platform-services-go-sdk v0.56.3/go.mod h1:+U6Kg7o5u/Bh4ZkLxjymSgfdpVsaWAtsMtzhwclUry0= +github.com/IBM/platform-services-go-sdk v0.59.0 h1:FSRM3oKHxzShLCsIIb6Dl+JSaVOXpBWnfWFITJR6DDk= +github.com/IBM/platform-services-go-sdk v0.59.0/go.mod h1:+U6Kg7o5u/Bh4ZkLxjymSgfdpVsaWAtsMtzhwclUry0= github.com/IBM/project-go-sdk v0.2.1 h1:Xo7ITrfyfVm0eCsaC2SADlhcEjqjx9rtU37fwnzGMCI= github.com/IBM/project-go-sdk v0.2.1/go.mod h1:lqe0M4cKvABI1iHR1b+KfasVcxQL6nl2VJ8eOyQs8Ig= github.com/IBM/push-notifications-go-sdk v0.0.0-20210310100607-5790b96c47f5 h1:NPUhkoOCRuv3OFWt19PmwjXGGTKlvmbuPg9fUrBUNe4= diff --git a/ibm/service/catalogmanagement/data_source_ibm_cm_object.go b/ibm/service/catalogmanagement/data_source_ibm_cm_object.go index c2a11bd386..d46e887163 100644 --- a/ibm/service/catalogmanagement/data_source_ibm_cm_object.go +++ b/ibm/service/catalogmanagement/data_source_ibm_cm_object.go @@ -326,12 +326,6 @@ func dataSourceIBMCmObjectPublishObjectToMap(model *catalogmanagementv1.PublishO if model.PublicApproved != nil { modelMap["public_approved"] = *model.PublicApproved } - if model.PortalApprovalRecord != nil { - modelMap["portal_approval_record"] = *model.PortalApprovalRecord - } - if model.PortalURL != nil { - modelMap["portal_url"] = *model.PortalURL - } return modelMap, nil } diff --git a/ibm/service/catalogmanagement/resource_ibm_cm_object.go b/ibm/service/catalogmanagement/resource_ibm_cm_object.go index 2ab4f8ae86..86676b23c9 100644 --- a/ibm/service/catalogmanagement/resource_ibm_cm_object.go +++ b/ibm/service/catalogmanagement/resource_ibm_cm_object.go @@ -545,12 +545,6 @@ func resourceIBMCmObjectMapToPublishObject(modelMap map[string]interface{}) (*ca if modelMap["public_approved"] != nil { model.PublicApproved = core.BoolPtr(modelMap["public_approved"].(bool)) } - if modelMap["portal_approval_record"] != nil && modelMap["portal_approval_record"].(string) != "" { - model.PortalApprovalRecord = core.StringPtr(modelMap["portal_approval_record"].(string)) - } - if modelMap["portal_url"] != nil && modelMap["portal_url"].(string) != "" { - model.PortalURL = core.StringPtr(modelMap["portal_url"].(string)) - } return model, nil } @@ -585,12 +579,6 @@ func resourceIBMCmObjectPublishObjectToMap(model *catalogmanagementv1.PublishObj if model.PublicApproved != nil { modelMap["public_approved"] = model.PublicApproved } - if model.PortalApprovalRecord != nil { - modelMap["portal_approval_record"] = model.PortalApprovalRecord - } - if model.PortalURL != nil { - modelMap["portal_url"] = model.PortalURL - } return modelMap, nil }