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 (
19
19
"errors"
20
20
"fmt"
21
21
"io"
22
- "os"
23
22
"regexp"
24
23
"sort"
25
24
"strings"
@@ -132,12 +131,8 @@ func (opts *DeploymentOpts) LocalMongodHostname() string {
132
131
var LocalDevImage = "docker.io/mongodb/mongodb-atlas-local"
133
132
134
133
func getLocalDevImage () string {
135
- // First check environment variable
136
- if envImage := os .Getenv ("ATLAS_LOCAL_DEPLOYMENT_IMAGE" ); envImage != "" {
137
- return envImage
138
- }
139
-
140
134
// Then check profile settings
135
+ // This will also check the MONGODB_ATLAS_LOCAL_DEPLOYMENT_IMAGE environment variable
141
136
if profileImage := config .Default ().GetLocalDeploymentImage (); profileImage != "" {
142
137
return profileImage
143
138
}
You can’t perform that action at this time.
0 commit comments