Skip to content

Commit

Permalink
Fix error when configuring resources in validation step
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Nov 15, 2023
1 parent 6bbe718 commit ebb3b8a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/provider/providerutil/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ import (
// provider data.
func ClientFromProviderData(providerData any, d *diag.Diagnostics) mittwaldv2.ClientBuilder {
if providerData == nil {
d.AddError(
"mittwald API client is not set",
"Expected mittwaldv2.ClientBuilder, got: nil. Please report this issue to the provider developers at https://github.com/mittwald/terraform-provider-mittwald/issues.",
)

return nil
}

Expand Down

0 comments on commit ebb3b8a

Please sign in to comment.