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

Support service dump #413

Merged
merged 8 commits into from
Jun 5, 2024
Merged

Support service dump #413

merged 8 commits into from
Jun 5, 2024

Conversation

hzxuzhonghu
Copy link
Member

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
@kmesh-bot kmesh-bot added size/XL and removed size/L labels Jun 4, 2024
Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
@hzxuzhonghu
Copy link
Member Author

For #214

Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
}

// ResourceName returns the unique key of Service.
func (x *Service) ResourceName() string {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would changing the name to GetResourceName be better?

Copy link
Member Author

Choose a reason for hiding this comment

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

nit:I donot think so, it is actually generating resourceName. ResourceName looks much better/simpler to me.

Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 52.00000% with 48 lines in your changes missing coverage. Please review.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag Coverage Δ
unittests 31.77% <52.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
pkg/controller/workload/workload_processor.go 13.49% <0.00%> (ø)
pkg/status/status_server.go 15.53% <56.00%> (ø)
pkg/status/api.go 71.69% <71.69%> (ø)
pkg/controller/workload/cache/service_cache.go 0.00% <0.00%> (ø)

@supercharge-xsy
Copy link
Contributor

/lgtm

@supercharge-xsy
Copy link
Contributor

/approve

@kmesh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: supercharge-xsy

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

@kmesh-bot kmesh-bot merged commit 76f66df into kmesh-net:main Jun 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants