Skip to content

Commit

Permalink
fix data lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Jul 26, 2023
1 parent 7f6021d commit c1a2079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/resource_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ func toPortOverride(data map[string]interface{}) (unifi.DevicePortOverrides, err
profileID := data["port_profile_id"].(string)
opMode := data["op_mode"].(string)
aggregateNumPorts := data["aggregate_num_ports"].(int)
nativeNetworkID := d.Get("native_network_id").(string)
nativeNetworkID := data["native_network_id"].(string)

return unifi.DevicePortOverrides{
PortIDX: idx,
Expand Down

0 comments on commit c1a2079

Please sign in to comment.