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

dragonball: add --all for fmt ci #8599

Merged
merged 1 commit into from Dec 11, 2023

Conversation

studychao
Copy link
Member

Right now, cargo fmt check in Dragonball only test with the default features but not all features. This will cause some code being untested by the fmt tool.

This PR adds --all option for the Dragonball CI and also fix some code that forgets to do cargo fmt --all.

fixes: #8598

@katacontainersbot katacontainersbot added the size/small Small and simple task label Dec 7, 2023
@studychao studychao added ok-to-test and removed size/small Small and simple task labels Dec 7, 2023
@studychao
Copy link
Member Author

/test

Copy link
Contributor

@liubogithub liubogithub left a comment

Choose a reason for hiding this comment

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

looks good.

Copy link
Member

@justxuewei justxuewei left a comment

Choose a reason for hiding this comment

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

Lgtm, thanks!

@katacontainersbot katacontainersbot added the size/small Small and simple task label Dec 10, 2023
@studychao
Copy link
Member Author

/test

@studychao
Copy link
Member Author

/test

Right now, cargo fmt check in Dragonball only test with the default
features but not all features. This will cause some code being untested
by the fmt tool.

This PR adds --all option for the Dragonball CI and also fix some code
that forgets to do cargo fmt --all.

fixes: kata-containers#8598

Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
@studychao
Copy link
Member Author

/test

@studychao studychao merged commit 198e4ad into kata-containers:main Dec 11, 2023
167 of 174 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test size/small Small and simple task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dragonball: cargo fmt not enabling with "--all" options
6 participants