Skip to content

Commit

Permalink
Fix port type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jonohill committed May 3, 2019
1 parent fed07f1 commit 0708c28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apigee/resource_target_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,12 @@ func resourceTargetServerRead(d *schema.ResourceData, meta interface{}) error {
}
}

port_str := strconv.Itoa(targetServerData.Port)

d.Set("name", targetServerData.Name)
d.Set("host", targetServerData.Host)
d.Set("enabled", targetServerData.Enabled)
d.Set("port", targetServerData.Port)
d.Set("port", port_str)

protocols := flattenStringList(targetServerData.SSLInfo.Protocols)
ciphers := flattenStringList(targetServerData.SSLInfo.Ciphers)
Expand Down

0 comments on commit 0708c28

Please sign in to comment.