We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f03d3d commit c069e17Copy full SHA for c069e17
test/internal/helper.go
@@ -569,7 +569,11 @@ func RandEntityWithRevision(entity string) (string, error) {
569
570
func MongoDBMajorVersion() (string, error) {
571
atlasClient := mongodbatlas.NewClient(nil)
572
- atlasURL := os.Getenv("MONGODB_ATLAS_OPS_MANAGER_URL")
+ profile, err := ProfileData()
573
+ if err != nil {
574
+ return "", err
575
+ }
576
+ atlasURL := profile["ops_manager_url"]
577
baseURL, err := url.Parse(atlasURL)
578
if err != nil {
579
return "", err
0 commit comments