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

fix compile error on macos #191

Merged
merged 4 commits into from
Feb 4, 2020
Merged

Conversation

YangKeao
Copy link
Member

@YangKeao YangKeao commented Feb 4, 2020

Signed-off-by: Yang Keao [email protected]

What problem does this PR solve?

This PR solves compile error on mac os. And hope to fix #167

What is changed and how does it work?

Now handle.QdiscAdd, handle.QdiscDel and handler.QdiscList are only used in _linux.go files.

Check List

Tests

Wait for manual test from a macos user @cwen0 . New bugs may occure during test on macos.

Code changes

  • Has Go code change

@codecov-io
Copy link

codecov-io commented Feb 4, 2020

Codecov Report

Merging #191 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #191   +/-   ##
=======================================
  Coverage   39.47%   39.47%           
=======================================
  Files          17       17           
  Lines         608      608           
=======================================
  Hits          240      240           
  Misses        337      337           
  Partials       31       31

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 00017c4...a7afd82. Read the comment docs.

Signed-off-by: Yang Keao <[email protected]>
Copy link
Member

@cwen0 cwen0 left a comment

Choose a reason for hiding this comment

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

Rest LGTM

@@ -0,0 +1,32 @@
// Copyright 2019 PingCAP, Inc.
Copy link
Member

Choose a reason for hiding this comment

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

s/2019/2020/g

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

Copy link
Contributor

@zhouqiang-cl zhouqiang-cl left a comment

Choose a reason for hiding this comment

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

LGTM

@zhouqiang-cl zhouqiang-cl merged commit 3da4304 into chaos-mesh:master Feb 4, 2020
@YangKeao YangKeao deleted the test-on-macos branch August 3, 2020 03:43
sjwsl pushed a commit to sjwsl/chaos-mesh that referenced this pull request May 6, 2021
* fix compile error on macos

Signed-off-by: Yang Keao <[email protected]>
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.

Run make test error
4 participants