Skip to content

Commit

Permalink
error message update
Browse files Browse the repository at this point in the history
  • Loading branch information
austinvalle committed May 6, 2024
1 parent be070c1 commit eb08273
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions helper/schema/grpc_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,8 @@ func (s *GRPCProviderServer) ConfigureProvider(ctx context.Context, req *tfproto
resp.Diagnostics = append(resp.Diagnostics, &tfprotov5.Diagnostic{
Severity: tfprotov5.DiagnosticSeverityError,
Summary: "Invalid Deferred Provider Response",
Detail: "Provider configured a deferred response for all resources and data sources during ConfigureProvider " +
"but the Terraform request did not indicate support for deferred actions.",
Detail: "Provider configured a deferred response for all resources and data sources but the Terraform request " +
"did not indicate support for deferred actions. This is an issue with the provider and should be reported to the provider developers.",
})
} else {
logging.HelperSchemaDebug(
Expand Down
8 changes: 4 additions & 4 deletions helper/schema/grpc_provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3218,8 +3218,8 @@ func TestGRPCProviderServerConfigureProvider(t *testing.T) {
{
Severity: tfprotov5.DiagnosticSeverityError,
Summary: "Invalid Deferred Provider Response",
Detail: "Provider configured a deferred response for all resources and data sources during ConfigureProvider " +
"but the Terraform request did not indicate support for deferred actions.",
Detail: "Provider configured a deferred response for all resources and data sources but the Terraform request " +
"did not indicate support for deferred actions. This is an issue with the provider and should be reported to the provider developers.",
},
},
},
Expand Down Expand Up @@ -3259,8 +3259,8 @@ func TestGRPCProviderServerConfigureProvider(t *testing.T) {
{
Severity: tfprotov5.DiagnosticSeverityError,
Summary: "Invalid Deferred Provider Response",
Detail: "Provider configured a deferred response for all resources and data sources during ConfigureProvider " +
"but the Terraform request did not indicate support for deferred actions.",
Detail: "Provider configured a deferred response for all resources and data sources but the Terraform request " +
"did not indicate support for deferred actions. This is an issue with the provider and should be reported to the provider developers.",
},
},
},
Expand Down

0 comments on commit eb08273

Please sign in to comment.