-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: make the usage of '--env' flag more precisely #4060
Conversation
🤖 Generated by lychee actionSummary
Full action output |
fix #4058 |
Codecov ReportAttention:
📢 Thoughts on this report? Let us know!. |
5b96fb6
to
5e8b173
Compare
cmd/sealos/cmd/gen.go
Outdated
@@ -23,6 +23,7 @@ import ( | |||
|
|||
"github.com/spf13/cobra" | |||
|
|||
"github.com/labring/sealos/controllers/pkg/utils/logger" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger using pkg/logger
Signed-off-by: fengxsong <[email protected]>
5e8b173
to
b2270eb
Compare
/cherry-pick release-v4.4 |
🤖 says: cherry pick action finished successfully 🎉! |
Signed-off-by: fengxsong <[email protected]>
Signed-off-by: fengxsong <[email protected]> Co-authored-by: fengxsong <[email protected]>
fix: make the usage of '--env' flag more precisely (labring#4060) (labring#4063)
Signed-off-by: fengxsong <[email protected]>
🤖 Generated by Copilot at 5b96fb6
Summary
🌟📝🧹
This pull request improves the sealos gen command and the clusterfile package by using consistent logging, simplifying the code, and clarifying the flags. It also fixes a bug in the gen command related to default values for kubeadm configs.
Walkthrough
ClusterFile
type andLoadKubeadmConfigs
function, as it is no longer needed (link, link, link)