openyurtio / yurt-app-manager

The workload controller manager from NodePool level in OpenYurt cluster
Apache License 2.0
6 stars 1 forks source link

fix yurtappset fuzzer #134

Closed kyakdan closed 1 year ago

kyakdan commented 1 year ago

Few imports were missing leading to build failures in OSS-Fuzz

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind bug /kind documentation /kind enhancement /kind good-first-issue /kind feature /kind question /kind design /sig ai /sig iot /sig network /sig storage /sig storage

What this PR does / why we need it:

This PR fixes the yurtappset fuzzer so that the project can be fuzzed in OSS-Fuzz

Which issue(s) this PR fixes:

Fixes #133

Special notes for your reviewer:

Does this PR introduce a user-facing change? No

other Note

openyurt-bot commented 1 year ago

@kyakdan: GitHub didn't allow me to assign the following users: your_reviewer.

Note that only openyurtio members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. For more information please see the contributor guide

In response to [this](https://github.com/openyurtio/yurt-app-manager/pull/134): >Few imports were missing leading to build failures in OSS-Fuzz > > > > >#### What type of PR is this? >> Uncomment only one ` /kind <>` line, hit enter to put that in a new line, and remove leading whitespace from that line: >> >/kind bug >> /kind documentation >> /kind enhancement >> /kind good-first-issue >> /kind feature >> /kind question >> /kind design >> /sig ai >> /sig iot >> /sig network >> /sig storage >> /sig storage > > > >#### What this PR does / why we need it: >This PR fixes the yurtappset fuzzer so that the project can be fuzzed in OSS-Fuzz > >#### Which issue(s) this PR fixes: > >Fixes #133 > >#### Special notes for your reviewer: > > > >#### Does this PR introduce a user-facing change? No > >```release-note > >``` > >#### other Note > > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
openyurt-bot commented 1 year ago

Welcome @kyakdan! It looks like this is your first PR to openyurtio/yurt-app-manager 🎉

codecov[bot] commented 1 year ago

Codecov Report

Merging #134 (aa67464) into master (a0346e5) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #134   +/-   ##
=======================================
  Coverage   45.21%   45.21%           
=======================================
  Files          42       42           
  Lines        4782     4782           
=======================================
  Hits         2162     2162           
  Misses       2318     2318           
  Partials      302      302           
Flag Coverage Δ
unittests 45.21% <ø> (ø)

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

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

rambohe-ch commented 1 year ago

@huiwq1990 PTAL

huiwq1990 commented 1 year ago

@kyakdan hi, could you order the import package? Make it match golint.

kyakdan commented 1 year ago

@huiwq1990 Thanks for the feedback. I've sorted the imports.

huiwq1990 commented 1 year ago

/lgtm

rambohe-ch commented 1 year ago

/approve

openyurt-bot commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kyakdan, rambohe-ch

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: - ~~[OWNERS](https://github.com/openyurtio/yurt-app-manager/blob/master/OWNERS)~~ [rambohe-ch] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment