Skip to content

Commit

Permalink
Fix with latest bluemix-go changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hkantare authored and sakshiag committed Aug 1, 2019
1 parent c3e663f commit 1703eb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ibm/data_source_ibm_cis_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ func dataSourceIBMCISDomainRead(d *schema.ResourceData, meta interface{}) error

cisId := d.Get("cis_id").(string)
zoneName := d.Get("domain").(string)
var zones *[]v1.Zone
var zones []v1.Zone
var zoneNames []string

zones, err = cisClient.Zones().ListZones(cisId)
if err != nil {
log.Printf("dataSourcCISdomainRead - ListZones Failed %s\n", err)
return err
}
zonesObj := *zones
zonesObj := zones

for _, zone := range zonesObj {
zoneNames = append(zoneNames, zone.Name)
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_service_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func resourceIBMServiceInstanceUpdate(d *schema.ResourceData, meta interface{})

if d.HasChange("tags") {
tags := getServiceTags(d)
updateReq.Tags = &tags
updateReq.Tags = tags
}

_, err = cfClient.ServiceInstances().Update(serviceGUID, updateReq)
Expand Down

0 comments on commit 1703eb4

Please sign in to comment.