Skip to content

databricks_sdk_client() fails when token is NULL #159

@dabruehl

Description

@dabruehl

@edgararuiz: the code change in commit 56b968c introduces an error in the function databricks_sdk_client().

Error in if (token == "") { : argument is of length zero

The issue occurs because token <- sdk_config$token returns NULL instead of an empty string ("").

When token is NULL, the condition if (token == "") fails with argument is of length zero.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions