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

NAS-133075 / 25.04 / Move web shell logic to its own module #15205

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

yocalebo
Copy link
Contributor

This is merely a refactor of the web shell related logic and moving it to its own module to clear up main.py. There should be no change in behavior.

@yocalebo yocalebo requested a review from a team December 13, 2024 18:53
@bugclerk bugclerk changed the title Move web shell logic to its own module NAS-133075 / 25.04 / Move web shell logic to its own module Dec 13, 2024
@bugclerk
Copy link
Contributor

Copy link
Contributor

@mgrimesix mgrimesix left a comment

Choose a reason for hiding this comment

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

Flake8 complaints:
main.py line 610
def _load_api_versions(self) -> [APIVersion]:
should be
def _load_api_versions(self) -> list[APIVersion]:

webshell.py
lines 293, 321 and 331 have the following complaint:
line break before binary operator

Approving anyway as these are in current code.

@yocalebo yocalebo merged commit ec955b0 into master Dec 13, 2024
2 checks passed
@yocalebo yocalebo deleted the refac-webshell branch December 13, 2024 21:45
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants