Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: equinix/terraform-provider-equinix
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 69cafa44f96af1ad0ce90603988e7ec27d88c8c8
Choose a base ref
..
head repository: equinix/terraform-provider-equinix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e8ff49c295c56b8c422d18ebe41dc4d2b9f20e34
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 internal/resources/metal/vlan/models.go
4 changes: 2 additions & 2 deletions internal/resources/metal/vlan/models.go
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ func (m *DataSourceModel) parse(vlan *packngo.VirtualNetwork) diag.Diagnostics {
m.VlanID = types.StringValue(vlan.ID)
m.Description = types.StringValue(vlan.Description)
m.Vxlan = types.Int64Value(int64(vlan.VXLAN))
m.Facility = types.StringNull()
m.Facility = types.StringValue("")

if vlan.Project.ID != "" {
m.ProjectID = types.StringValue(vlan.Project.ID)
@@ -60,7 +60,7 @@ func (m *ResourceModel) parse(vlan *packngo.VirtualNetwork) diag.Diagnostics {
m.ID = types.StringValue(vlan.ID)
m.Description = types.StringValue(vlan.Description)
m.Vxlan = types.Int64Value(int64(vlan.VXLAN))
m.Facility = types.StringNull()
m.Facility = types.StringValue("")

if vlan.Project.ID != "" {
m.ProjectID = types.StringValue(vlan.Project.ID)