Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
a7c54213
Unverified
Commit
a7c54213
authored
May 28, 2025
by
mohammedabdulwahhab
Committed by
GitHub
May 28, 2025
Browse files
fix: command line args should override even if DYN_DEPLOYMENT_CONFIG is set (#1241)f
parent
f57864ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
deploy/sdk/src/dynamo/sdk/cli/utils.py
deploy/sdk/src/dynamo/sdk/cli/utils.py
+9
-9
No files found.
deploy/sdk/src/dynamo/sdk/cli/utils.py
View file @
a7c54213
...
@@ -288,15 +288,15 @@ def resolve_service_config(
...
@@ -288,15 +288,15 @@ def resolve_service_config(
for
key
,
value
in
configs
.
items
():
for
key
,
value
in
configs
.
items
():
service_configs
[
service
][
key
]
=
value
service_configs
[
service
][
key
]
=
value
# Process
service-specific option
s
# Process
command line override
s
if
args
:
if
args
:
cmdline_overrides
=
_parse_service_args
(
args
)
cmdline_overrides
=
_parse_service_args
(
args
)
logger
.
debug
(
f
"Applying command line overrides:
{
cmdline_overrides
}
"
)
logger
.
info
(
f
"Applying command line overrides:
{
cmdline_overrides
}
"
)
for
service
,
configs
in
cmdline_overrides
.
items
():
for
service
,
configs
in
cmdline_overrides
.
items
():
if
service
not
in
service_configs
:
if
service
not
in
service_configs
:
service_configs
[
service
]
=
{}
service_configs
[
service
]
=
{}
for
key
,
value
in
configs
.
items
():
for
key
,
value
in
configs
.
items
():
service_configs
[
service
][
key
]
=
value
service_configs
[
service
][
key
]
=
value
logger
.
info
(
f
"Running dynamo serve with config:
{
service_configs
}
"
)
logger
.
info
(
f
"Running dynamo serve with config:
{
service_configs
}
"
)
return
service_configs
return
service_configs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment