File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
internal/cli/deployments/options Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import (
1919 "errors"
2020 "fmt"
2121 "io"
22- "os"
2322 "regexp"
2423 "sort"
2524 "strings"
@@ -132,12 +131,8 @@ func (opts *DeploymentOpts) LocalMongodHostname() string {
132131var LocalDevImage = "docker.io/mongodb/mongodb-atlas-local"
133132
134133func getLocalDevImage () string {
135- // First check environment variable
136- if envImage := os .Getenv ("ATLAS_LOCAL_DEPLOYMENT_IMAGE" ); envImage != "" {
137- return envImage
138- }
139-
140134 // Then check profile settings
135+ // This will also check the MONGODB_ATLAS_LOCAL_DEPLOYMENT_IMAGE environment variable
141136 if profileImage := config .Default ().GetLocalDeploymentImage (); profileImage != "" {
142137 return profileImage
143138 }
You can’t perform that action at this time.
0 commit comments