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

Call "/api/shutdown" instead of "/" #836

Merged
merged 1 commit into from
May 6, 2022
Merged

Conversation

dleen
Copy link
Contributor

@dleen dleen commented May 6, 2022

When running jupyter lab stop the wrong endpoint was being called

@codecov-commenter
Copy link

codecov-commenter commented May 6, 2022

Codecov Report

Merging #836 (7c9dc1c) into main (d7307d0) will decrease coverage by 0.08%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #836      +/-   ##
==========================================
- Coverage   70.05%   69.97%   -0.09%     
==========================================
  Files          63       63              
  Lines        7548     7557       +9     
  Branches     1258     1260       +2     
==========================================
  Hits         5288     5288              
- Misses       1880     1889       +9     
  Partials      380      380              
Impacted Files Coverage Δ
jupyter_server/serverapp.py 64.70% <0.00%> (-0.55%) ⬇️

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 d7307d0...7c9dc1c. Read the comment docs.

kevin-bates
kevin-bates previously approved these changes May 6, 2022
Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

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

LGTM - thank you @dleen.

@kevin-bates kevin-bates added the bug label May 6, 2022
@dleen
Copy link
Contributor Author

dleen commented May 6, 2022

One of the tests broke when calling with an arg like jupyter-server stop /tmp/jupyter_server.48922.sock. Looking into what it should do in this case. Maybe not form a path at all?

When running `jupyter lab stop` the wrong endpoint was being called
@kevin-bates
Copy link
Member

kevin-bates commented May 6, 2022

Ah - yes, the last commit makes sense (although I'm unfamiliar with the sockets usage), thank you for following up!

@Zsailer
Copy link
Member

Zsailer commented May 6, 2022

Thanks!

@Zsailer
Copy link
Member

Zsailer commented May 6, 2022

@meeseeksdev please backport to 1.x

meeseeksmachine pushed a commit to meeseeksmachine/jupyter_server that referenced this pull request May 6, 2022
Zsailer added a commit that referenced this pull request May 7, 2022
Co-authored-by: David Leen <dleen@netflix.com>
Co-authored-by: Zachary Sailer <zsailer@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants