Skip to content

Commit

Permalink
PENG-9789 - fixing client resource type
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayla Tindall committed Mar 28, 2019
1 parent 06efd1d commit e6064cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apigee/resource_shared_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func resourceSharedFlowRead(d *schema.ResourceData, meta interface{}) error {

client := meta.(*apigee.EdgeClient)

u, _, err := client.Proxies.Get(d.Get("name").(string))
u, _, err := client.SharedFlows.Get(d.Get("name").(string))
if err != nil {
log.Printf("[ERROR] resourceSharedFlowRead error reading shared flows: %s", err.Error())
if strings.Contains(err.Error(), "404 ") {
Expand Down

0 comments on commit e6064cd

Please sign in to comment.