Skip to content

Commit 208b7a5

Browse files
authored
Merge branch 'main' into fix-kernelspecs-issue
2 parents d81b604 + 01f5ef8 commit 208b7a5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/source/operators/deploy-docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ To see all configurable class-options for some <cmd>, use:
216216
Examples
217217
--------
218218
219-
jupyter-docker-spec install --language=R --kernel-name=r_docker --image_name=foo/my_r_kernel_image:v4_0
219+
jupyter-docker-spec install --language=R --kernel-name=r_docker --image-name=foo/my_r_kernel_image:v4_0
220220
221221
jupyter-docker-spec install --swarm --kernel-name=python_swarm
222222

gateway_provisioners/cli/docker_specapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class DockerSpecInstaller(BaseSpecApp):
3737
# Note that the left justification of the second example is necessary to ensure proper
3838
# alignment with the first example during --help output.
3939
examples = """
40-
jupyter-docker-spec install --language=R --kernel-name=r_docker --image_name=foo/my_r_kernel_image:v4_0
40+
jupyter-docker-spec install --language=R --kernel-name=r_docker --image-name=foo/my_r_kernel_image:v4_0
4141
4242
jupyter-docker-spec install --swarm --kernel-name=python_swarm
4343
"""

gateway_provisioners/yarn.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,9 @@ async def cleanup(self, restart: bool = False) -> None:
240240
self.local_proc.wait()
241241
self.local_proc = None
242242

243-
# reset application id to force new query - handles kernel restarts/interrupts
243+
# reset application id and assigned host to force new query - handles kernel restarts/interrupts
244244
self.application_id = None
245+
self.assigned_host = ""
245246

246247
# for cleanup, we should call the superclass last
247248
await super().cleanup(restart=restart)

0 commit comments

Comments
 (0)