Skip to content

Commit

Permalink
remove unused func
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinyblargon committed Feb 5, 2024
1 parent 5869df4 commit 9843909
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions proxmox/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,3 @@ func VMStateValidator() schema.SchemaValidateDiagFunc {
"stopped",
}, false))
}

func uintValidator() schema.SchemaValidateDiagFunc {
return func(i interface{}, k cty.Path) diag.Diagnostics {
v, ok := i.(int)
if !ok || v < 0 {
return diag.Errorf(errorUint, k)
}
return nil
}
}

0 comments on commit 9843909

Please sign in to comment.