From d14730831de602f2051fff08a081837327934698 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Wed, 22 Jan 2025 13:47:14 +0100 Subject: [PATCH] fix infinite recursion --- bundle/bundle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/bundle.go b/bundle/bundle.go index 050ba83ff..9cb8916f5 100644 --- a/bundle/bundle.go +++ b/bundle/bundle.go @@ -138,7 +138,7 @@ func TryLoad(ctx context.Context) (*Bundle, error) { func (b *Bundle) WorkspaceClientE() (*databricks.WorkspaceClient, error) { b.clientOnce.Do(func() { var err error - b.client, err = b.WorkspaceClientE() + b.client, err = b.Config.Workspace.Client() if err != nil { b.clientErr = fmt.Errorf("cannot resolve bundle auth configuration: %w", err) }