Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix compose lacking support for replicas = 0 #2361

Merged

Conversation

yankay
Copy link
Contributor

@yankay yankay commented Jul 6, 2023

Allow the compose service replica set to 0.

fix #2223

@yankay yankay force-pushed the fix-compose-lacking-support-for-replicas-0 branch 2 times, most recently from 29fde9b to 87ff829 Compare July 10, 2023 09:43
@ningziwen
Copy link
Contributor

Suggest adding a test case under https://github.com/containerd/nerdctl/blob/main/pkg/composer/serviceparser/serviceparser_test.go to cover the scenario.

Signed-off-by: Kay Yan <kay.yan@daocloud.io>
@yankay yankay force-pushed the fix-compose-lacking-support-for-replicas-0 branch from 87ff829 to f8a8295 Compare July 14, 2023 06:37
@AkihiroSuda AkihiroSuda added this to the v1.5.0 milestone Jul 16, 2023
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit ca89051 into containerd:main Jul 16, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compose: lacking support for replicas = 0
3 participants