[go: up one dir, main page]

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

Reused common default docker parm. #4526

Merged
merged 1 commit into from
Jan 14, 2023
Merged

Reused common default docker parm. #4526

merged 1 commit into from
Jan 14, 2023

Conversation

yanggangtony
Copy link
Contributor

Signed-off-by: yanggang gang.yang@daocloud.io

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Reused common/constants define parm..

None

@kubeedge-bot kubeedge-bot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Dec 29, 2022
@kubeedge-bot kubeedge-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 29, 2022
Comment on lines 21 to 22

"github.com/kubeedge/kubeedge/common/constants"
Copy link
Member
@gy95 gy95 Dec 29, 2022

Choose a reason for hiding this comment

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

this should be moved to line21 and run gofmt

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, i install the 'goimports plugin' , and let it format for me when 'ctrl+s'.
Had updated.

@yanggangtony
Copy link
Contributor Author
yanggangtony commented Dec 29, 2022

still ci lint err,

keadm/cmd/keadm/app/cmd/debug/check.go:14: File is not `gci`-ed with -local github.com/kubeedge (gci)
keadm/cmd/keadm/app/cmd/debug/check.go:20: File is not `gci`-ed with -local github.com/kubeedge (gci)

Is the ci not works with goimports?

@@ -11,13 +11,13 @@ import (
"strings"
"time"

"github.com/kubeedge/kubeedge/common/constants"
"github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/common"
"github.com/kubeedge/kubeedge/keadm/cmd/keadm/app/cmd/util"
Copy link
Collaborator

Choose a reason for hiding this comment

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

please format the import order

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hi, now i am use the "goimports" to save the file to keep the import order.
What is the format style is good for the ci?

Copy link
Member

Choose a reason for hiding this comment

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

kubeedge package should be put to the last, after the third party packages. you should put the above github.com/kubeedge/* to line 21

Copy link
Contributor Author
@yanggangtony yanggangtony Jan 4, 2023

Choose a reason for hiding this comment

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

@gy95
thanks for explain .
so kubeage is used 'gofmt' to format the code , not 'goimport'.
Fix it

Signed-off-by: yanggang <gang.yang@daocloud.io>
Copy link
Member
@fisherxu fisherxu left a comment

Choose a reason for hiding this comment

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

The default value for runtime in edgecore's config has not updated in #4533? @gy95

@gy95
Copy link
Member
gy95 commented Jan 14, 2023

The default value for runtime in edgecore's config has not updated in #4533? @gy95

keadm debug related commands not changed

@fisherxu
Copy link
Member

The default value for runtime in edgecore's config has not updated in #4533? @gy95

keadm debug related commands not changed

ok.
/lgtm
/approve

@kubeedge-bot kubeedge-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 14, 2023
@kubeedge-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fisherxu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot kubeedge-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 14, 2023
@kubeedge-bot kubeedge-bot merged commit 1b3c584 into kubeedge:master Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants