-
Notifications
You must be signed in to change notification settings - Fork 62
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
change ads
->kernel-native
and workload
->duel-engine
in code
#940
Conversation
Signed-off-by: LiZhenCheng9527 <[email protected]>
What is the conclusion from community meeting? |
Change the name of the constant first, and the name of the API later. |
I think changing the functions name can be a |
There is a typo that |
ctl/dump/dump.go
Outdated
# Workload mode: | ||
kmeshctl dump <kmesh-daemon-pod> workload`, | ||
# Duel Engine mode: | ||
kmeshctl dump <kmesh-daemon-pod> duel-engine`, |
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.
typo
ctl/dump/dump.go
Outdated
@@ -54,8 +54,8 @@ kmeshctl dump <kmesh-daemon-pod> workload`, | |||
func RunDump(cmd *cobra.Command, args []string) error { | |||
podName := args[0] | |||
mode := args[1] | |||
if mode != "ads" && mode != "workload" { | |||
log.Errorf("Error: Argument must be 'ads' or 'workload'") | |||
if mode != "kernel-native" && mode != "duel-engine" { |
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.
can define a const instead of hardcoding
deploy/charts/kmesh-helm/values.yaml
Outdated
@@ -7,7 +7,7 @@ deploy: | |||
tag: latest | |||
imagePullPolicy: IfNotPresent | |||
containers: | |||
kmeshDaemonArgs: "--mode=workload --enable-bypass=false --enable-bpf-log=true" | |||
kmeshDaemonArgs: "--mode=duel-engine --enable-bypass=false --enable-bpf-log=true" |
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.
typo
Signed-off-by: LiZhenCheng9527 <[email protected]>
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hzxuzhonghu 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 |
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #937
Special notes for your reviewer:
Does this PR introduce a user-facing change?: