Skip to content

Conversation

NaturalSelect
Copy link

What this PR does:

  • FUSE is statically compiled into the WSL2 kernel, so modinfo is not applicable in WSL2.
  • If we deploy client on WSL2, skip FUSE module check.

See also: WSL Issue.

Signed-off-by: NaturalSelect <2145973003@qq.com>
}

func (s *ModInfo) Execute(ctx *context.Context) error {
isWsl2, err := ctx.Module().Shell().IsWsl2()
Copy link
Contributor

Choose a reason for hiding this comment

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

A separate step is better?

Copy link
Author

Choose a reason for hiding this comment

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

Sorry, I don't get it.

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.

2 participants