Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(wadm): Set PutModelResponse current_version based on the StoredManifests current_version #309

Conversation

joonas
Copy link
Member

@joonas joonas commented Jun 27, 2024

Feature or Problem

Previously the PutModelResponse would be empty string if the incoming manifest did not already contain a version, because the version gets generated inside of the StoredManifests.add_version(...) function before being inserted into the IndexMap.

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

…urrent_version

Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
@joonas joonas changed the title fix(wadm): Set PutModelResponse current_version based on the stored current_version fix(wadm): Set PutModelResponse current_version based on the StoredManifests current_version Jun 27, 2024
@thomastaylor312 thomastaylor312 merged commit c82fdc0 into wasmCloud:main Jun 27, 2024
3 checks passed
@joonas joonas deleted the fix/return-generated-version-when-one-wasnt-provided branch June 27, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants