Skip to content

Commit 99958b7

Browse files
committed
chore(): save jupyterhub profile list in self:
1 parent 24132a5 commit 99958b7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • applications/jupyterhub/src/harness_jupyter/harness_jupyter

applications/jupyterhub/src/harness_jupyter/harness_jupyter/jupyterhub.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
def custom_options_form(spawner, abc):
1919
# let's skip the profile selection form for now
2020
# ToDo: for future we can remove this hook
21+
spawner._ch_profile_list = spawner.profile_list
2122
spawner.profile_list = []
2223
# ref: https://github.com/jupyterhub/kubespawner/blob/37a80abb0a6c826e5c118a068fa1cf2725738038/kubespawner/spawner.py#L1885-L1935
2324
return spawner._options_form_default()

0 commit comments

Comments
 (0)