Skip to content

Commit

Permalink
Fixed CI for Plugin Framework
Browse files Browse the repository at this point in the history
  • Loading branch information
b-per committed Apr 21, 2024
1 parent f410c06 commit df18352
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/framework/acctest_helper/acctest_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ func SharedClient() (*dbt_cloud.Client, error) {
token := os.Getenv("DBT_CLOUD_TOKEN")
hostURL := os.Getenv("DBT_CLOUD_HOST_URL")

if hostURL == "" {
hostURL = "https://cloud.getdbt.com/api"
}

client, err := dbt_cloud.NewClient(
&accountID,
&token,
Expand Down

0 comments on commit df18352

Please sign in to comment.