From ecb2e2a28f482043e61cca05d9e892e672879603 Mon Sep 17 00:00:00 2001 From: Steve Worley Date: Fri, 19 Jan 2024 13:46:12 +1000 Subject: [PATCH] Remove hashicups. --- internal/provider/project_resource.go | 4 ++-- internal/provider/rule_auth_resource.go | 2 +- internal/provider/rule_custom_response_resource.go | 2 +- internal/provider/rule_headers_resource.go | 2 +- internal/provider/rule_proxy_resource.go | 2 +- internal/provider/rule_redirect_resource.go | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/internal/provider/project_resource.go b/internal/provider/project_resource.go index 161b1e0..adea6bb 100644 --- a/internal/provider/project_resource.go +++ b/internal/provider/project_resource.go @@ -52,7 +52,7 @@ func (r *projectResource) Configure(_ context.Context, req resource.ConfigureReq if !ok { resp.Diagnostics.AddError( "Unexpected Data Source Configure Type", - fmt.Sprintf("Expected *hashicups.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), + fmt.Sprintf("Expected *quant.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), ) return @@ -270,7 +270,7 @@ func (r *projectResource) Update(ctx context.Context, req resource.UpdateRequest if err != nil { resp.Diagnostics.AddError( - "Error Updating HashiCups Order", + "Error Updating Quant Projet", "Could not update order, unexpected error: "+err.Error(), ) } diff --git a/internal/provider/rule_auth_resource.go b/internal/provider/rule_auth_resource.go index 5f4668a..51f29db 100644 --- a/internal/provider/rule_auth_resource.go +++ b/internal/provider/rule_auth_resource.go @@ -64,7 +64,7 @@ func (r *ruleAuth) Configure(_ context.Context, req resource.ConfigureRequest, r if !ok { resp.Diagnostics.AddError( "Unexpected Data Source Configure Type", - fmt.Sprintf("Expected *hashicups.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), + fmt.Sprintf("Expected *quant.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), ) return diff --git a/internal/provider/rule_custom_response_resource.go b/internal/provider/rule_custom_response_resource.go index 4f3ebd5..67c3239 100644 --- a/internal/provider/rule_custom_response_resource.go +++ b/internal/provider/rule_custom_response_resource.go @@ -67,7 +67,7 @@ func (r *ruleCustomResponse) Configure(_ context.Context, req resource.Configure if !ok { resp.Diagnostics.AddError( "Unexpected Data Source Configure Type", - fmt.Sprintf("Expected *hashicups.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), + fmt.Sprintf("Expected *quant.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), ) return diff --git a/internal/provider/rule_headers_resource.go b/internal/provider/rule_headers_resource.go index 44145e5..88bb114 100644 --- a/internal/provider/rule_headers_resource.go +++ b/internal/provider/rule_headers_resource.go @@ -65,7 +65,7 @@ func (r *ruleHeaders) Configure(_ context.Context, req resource.ConfigureRequest if !ok { resp.Diagnostics.AddError( "Unexpected Data Source Configure Type", - fmt.Sprintf("Expected *hashicups.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), + fmt.Sprintf("Expected *quant.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), ) return diff --git a/internal/provider/rule_proxy_resource.go b/internal/provider/rule_proxy_resource.go index ed9d74b..93fff1b 100644 --- a/internal/provider/rule_proxy_resource.go +++ b/internal/provider/rule_proxy_resource.go @@ -95,7 +95,7 @@ func (r *ruleProxy) Configure(_ context.Context, req resource.ConfigureRequest, if !ok { resp.Diagnostics.AddError( "Unexpected Data Source Configure Type", - fmt.Sprintf("Expected *hashicups.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), + fmt.Sprintf("Expected *quant.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), ) return diff --git a/internal/provider/rule_redirect_resource.go b/internal/provider/rule_redirect_resource.go index 2fe31cf..70d20b5 100644 --- a/internal/provider/rule_redirect_resource.go +++ b/internal/provider/rule_redirect_resource.go @@ -68,7 +68,7 @@ func (r *ruleRedirectResource) Configure(_ context.Context, req resource.Configu if !ok { resp.Diagnostics.AddError( "Unexpected Data Source Configure Type", - fmt.Sprintf("Expected *hashicups.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), + fmt.Sprintf("Expected *quant.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), ) return