use correct volume in carma script #2416
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Details
Description
Issue is described in the jira link. But basically when
carma config install
is called, it created temporary volume ofcarma-config-tmp
to read the.env
file.However, currently it is mistakingly reading it from
carma-config
volume, instead ofcarma-config-tmp
, which doesnt exist yet (or if existed, it would end up downloading previously set carma-config and not the one specified in install command). This PR fixes it with correct volume.It was not caught before because I kept resetting or installing same images to verify. If different image was tested, I had tested 4.5.0 which doesnt use .env file.
Related GitHub Issue
NA
Related Jira Key
https://usdot-carma.atlassian.net/browse/ARC-141
Motivation and Context
Fix for bug introduced in #2409
How Has This Been Tested?
black pacifica and fusion vehicles
Types of changes
Checklist: