Skip to content

Commit ea12481

Browse files
authored
Bump testsuite (#307)
1 parent d4da926 commit ea12481

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

internal/client/connutils.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,6 +1543,11 @@ func (r *configResolver) parseCloudInstanceNameIntoConfig(
15431543
profile := "default"
15441544
if r.profile.val != nil {
15451545
profile = r.profile.val.(string)
1546+
} else {
1547+
if p, ok := os.LookupEnv("EDGEDB_CLOUD_PROFILE"); ok {
1548+
r.setProfile(p, "EDGEDB_CLOUD_PROFILE environment variable")
1549+
profile = r.profile.val.(string)
1550+
}
15461551
}
15471552

15481553
path := path.Join(dir, "cloud-credentials", profile+".json")

shared-client-testcases

0 commit comments

Comments
 (0)