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

Add ns related funcs #80

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

Vicente-Cheng
Copy link
Collaborator

Problem:
Move ns related functions locally instead of extra packages

Solution:
Implement our own ns related ns functions

Related Issue:

Test plan:
Make sure everything will be fine after that.

@Vicente-Cheng Vicente-Cheng force-pushed the add-ns-related-funcs branch 3 times, most recently from 2128cae to b18fdf4 Compare January 29, 2024 11:45
@Vicente-Cheng Vicente-Cheng marked this pull request as ready for review January 29, 2024 12:09
@bk201
Copy link
Member

bk201 commented Jan 29, 2024

Did we see any issue with importing github.com/longhorn/go-iscsi-helper before?

@Vicente-Cheng
Copy link
Collaborator Author

Because of various improvements in Longhorn Common Library (after v1.6.0), some related functions have been removed.

We only need a few parts, so I prefer to maintain ourselves.
That will also give us more flexibility.

pkg/utils/command.go Show resolved Hide resolved
pkg/utils/command.go Show resolved Hide resolved
    - that we can drop some dependency

Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
@bk201 bk201 requested a review from FrankYang0529 January 30, 2024 10:13
Copy link
Member

@FrankYang0529 FrankYang0529 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@Vicente-Cheng Vicente-Cheng merged commit acffcf5 into harvester:master Jan 31, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants