fix infinite recursion

This commit is contained in:
Shreyas Goenka 2025-01-22 13:47:14 +01:00
parent aae8e18d8d
commit d14730831d
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}