Skip to content

Commit

Permalink
Fix inconsistent field name
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Jul 20, 2024
1 parent f5fbe49 commit 437252c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/bgpsession_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type SessionResourceModel struct {
ExportPolicyIDs types.List `tfsdk:"export_policy_ids"`

PrefixListInID types.Int64 `tfsdk:"prefix_list_in_id"`
PrefixListOutID types.Int64 `tfsdk:"prefix_list_out"`
PrefixListOutID types.Int64 `tfsdk:"prefix_list_out_id"`

// todo: tags
// todo: custom fields
Expand Down Expand Up @@ -252,7 +252,7 @@ func (r *SessionResource) Schema(ctx context.Context, req resource.SchemaRequest
"prefix_list_in_id": schema.Int64Attribute{
Optional: true,
},
"prefix_list_out": schema.Int64Attribute{
"prefix_list_out_id": schema.Int64Attribute{
Optional: true,
},
},
Expand Down

0 comments on commit 437252c

Please sign in to comment.