-
Notifications
You must be signed in to change notification settings - Fork 148
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
feat(env-check): support Talos Linux #3240
feat(env-check): support Talos Linux #3240
Conversation
longhorn/longhorn-9558 Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
WalkthroughThe changes in the pull request enhance the Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
longhorn/longhorn-9558 Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
d513e98
to
20f3413
Compare
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.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (2)
controller/node_controller.go (2)
1086-1086
: Typo in comment: "packagesl" should be "packages"
Please correct the typo in the comment on line 1086.
1191-1193
: Consider using os.ErrNotExist
instead of unix.ENOENT
for portability
Using os.ErrNotExist
in error handling enhances portability across different operating systems.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
📒 Files selected for processing (1)
- controller/node_controller.go (8 hunks)
🔇 Additional comments (1)
controller/node_controller.go (1)
963-965
: Talos Linux support added correctly
The addition of Talos Linux support in the syncPackagesInstalled
function is implemented appropriately.
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. The codes are elegant.
@mergify backport v1.7.x |
✅ Backports have been created
|
Which issue(s) this PR fixes:
Issue longhorn/longhorn#9558
What this PR does / why we need it:
longhorn/longhorn#9558 (comment)
Special notes for your reviewer:
None
Additional documentation or context
longhorn/longhorn#7571