Skip to content

Commit c1cfdef

Browse files
committed
gofumpt
1 parent 9420abd commit c1cfdef

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

apstra/blueprint/virtual_network_binding.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package blueprint
22

33
import (
44
"context"
5+
56
"github.com/Juniper/apstra-go-sdk/apstra"
67
customtypes "github.com/Juniper/terraform-provider-apstra/apstra/custom_types"
78
"github.com/Juniper/terraform-provider-apstra/apstra/design"
@@ -19,7 +20,7 @@ import (
1920
type VirtualNetworkBinding struct {
2021
LeafId customtypes.StringWithAltValues `tfsdk:"leaf_id"`
2122
VlanId types.Int64 `tfsdk:"vlan_id"`
22-
//AccessIds types.Set `tfsdk:"access_ids"`
23+
// AccessIds types.Set `tfsdk:"access_ids"`
2324
AccessIds customtypes.SetWithSemanticEquals `tfsdk:"access_ids"`
2425
}
2526

@@ -51,7 +52,7 @@ func (o VirtualNetworkBinding) ResourceAttributes() map[string]resourceSchema.At
5152
CustomType: customtypes.NewSetWithSemanticEqualsType(customtypes.StringWithAltValuesType{}),
5253
Optional: true,
5354
ElementType: customtypes.StringWithAltValuesType{},
54-
//ElementType: types.StringType,
55+
// ElementType: types.StringType,
5556
Validators: []validator.Set{setvalidator.SizeAtLeast(1)},
5657
},
5758
}
@@ -75,7 +76,7 @@ func (o VirtualNetworkBinding) Request(ctx context.Context, rgInfo map[string]*a
7576
//utils.Uniq(accessSwitchNodeIds) // if the user specified both switches, we created dups. Clean em up.
7677

7778
return &apstra.VnBinding{
78-
//AccessSwitchNodeIds: accessSwitchNodeIds,
79+
// AccessSwitchNodeIds: accessSwitchNodeIds,
7980
SystemId: apstra.ObjectId(o.LeafId.ValueString()),
8081
VlanId: vlanId,
8182
}

apstra/blueprint/virtual_network_bindings.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package blueprint
22

33
import (
44
"context"
5+
56
"github.com/Juniper/apstra-go-sdk/apstra"
67
customtypes "github.com/Juniper/terraform-provider-apstra/apstra/custom_types"
78
"github.com/Juniper/terraform-provider-apstra/apstra/private"

apstra/private/resource_datacenter_virtual_network_bindings.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package private
33
import (
44
"context"
55
"encoding/json"
6+
67
"github.com/Juniper/apstra-go-sdk/apstra"
78
"github.com/hashicorp/terraform-plugin-framework/diag"
89
)

apstra/resource_datacenter_virtual_network_bindings.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package tfapstra
33
import (
44
"context"
55
"fmt"
6+
67
"github.com/Juniper/apstra-go-sdk/apstra"
78
"github.com/Juniper/terraform-provider-apstra/apstra/blueprint"
89
"github.com/Juniper/terraform-provider-apstra/apstra/compatibility"

0 commit comments

Comments
 (0)