We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
singleuser.cmd: null
1 parent 40272b1 commit cbdd540Copy full SHA for cbdd540
jupyterhub/files/hub/jupyterhub_config.py
@@ -408,8 +408,13 @@ def camelCaseify(s):
408
409
c.JupyterHub.load_roles.append(role)
410
411
+# respect explicit null command (distinct from unspecified)
412
+# this avoids relying on KubeSpawner.cmd's default being None
413
+_unspecified = object()
414
+specified_cmd = get_config("singleuser.cmd", _unspecified)
415
+if specified_cmd is not _unspecified:
416
+ c.Spawner.cmd = specified_cmd
417
-set_config_if_not_none(c.Spawner, "cmd", "singleuser.cmd")
418
set_config_if_not_none(c.Spawner, "default_url", "singleuser.defaultUrl")
419
420
cloud_metadata = get_config("singleuser.cloudMetadata", {})
0 commit comments