Skip to content

Commit

Permalink
Bump testsuite (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoor authored Mar 22, 2024
1 parent d4da926 commit ea12481
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions internal/client/connutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -1543,6 +1543,11 @@ func (r *configResolver) parseCloudInstanceNameIntoConfig(
profile := "default"
if r.profile.val != nil {
profile = r.profile.val.(string)
} else {
if p, ok := os.LookupEnv("EDGEDB_CLOUD_PROFILE"); ok {
r.setProfile(p, "EDGEDB_CLOUD_PROFILE environment variable")
profile = r.profile.val.(string)
}
}

path := path.Join(dir, "cloud-credentials", profile+".json")
Expand Down
2 changes: 1 addition & 1 deletion shared-client-testcases

0 comments on commit ea12481

Please sign in to comment.