From a9de2f6699fc38325f81d44b389f3eb1f98bcd84 Mon Sep 17 00:00:00 2001 From: Moritz Zimmer Date: Fri, 15 Sep 2023 08:58:07 +0200 Subject: [PATCH] fix: use provider locally in debug mode closes #81 Signed-off-by: Moritz Zimmer --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index cb91783..f21ccbe 100644 --- a/main.go +++ b/main.go @@ -21,7 +21,7 @@ func main() { if debugMode { //nolint:staticcheck // SA1019 ignore this! - err := plugin.Debug(context.Background(), "registry.terraform.io/opensearch-project/terraform-provider-opensearch", + err := plugin.Debug(context.Background(), "registry.terraform.io/opensearch-project/opensearch", &plugin.ServeOpts{ ProviderFunc: provider.Provider, },