Skip to content

Commit

Permalink
chore: Fix conflictsWithValue validator typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Geun-Oh authored and wonchulee committed Sep 25, 2024
1 parent 8b96d06 commit 48bf876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/service/loadbalancer/lb.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (l *lbResource) Schema(ctx context.Context, req resource.SchemaRequest, res
Computed: true,
Validators: []validator.Int32{
int32validator.Between(1, 3600),
verify.ConflictsWithVaule(
verify.ConflictsWithValue(
path.MatchRelative().AtName("type"), types.StringValue("NETWORK")),
},
PlanModifiers: []planmodifier.Int32{
Expand Down
2 changes: 1 addition & 1 deletion internal/verify/int32/confilictswithvaluevalidator.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (v conflictsWithValueValidator[V]) ValidateInt32(ctx context.Context, req v
}
}

func ConflictsWithVaule[V attr.Value](expr path.Expression, value V) validator.Int32 {
func ConflictsWithValue[V attr.Value](expr path.Expression, value V) validator.Int32 {
return conflictsWithValueValidator[V]{
expr: expr,
value: value,
Expand Down

0 comments on commit 48bf876

Please sign in to comment.