File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ def make_pod(
334334
335335 ssl_secret_mount_path:
336336 Specifies the name of the ssl secret mount path for the pod
337-
337+
338338 notebook_container_name:
339339 The name of the notebook container in the pod
340340 """
Original file line number Diff line number Diff line change @@ -2053,7 +2053,7 @@ async def get_pod_manifest(self):
20532053 ssl_secret_name = self .secret_name if self .internal_ssl else None ,
20542054 ssl_secret_mount_path = self .secret_mount_path ,
20552055 logger = self .log ,
2056- notebook_container_name = self .notebook_container_name ,
2056+ notebook_container_name = self .notebook_container_name ,
20572057 )
20582058
20592059 def get_secret_manifest (self , owner_reference ):
@@ -2232,7 +2232,9 @@ async def poll(self):
22322232 return 1
22332233 for c in ctr_stat :
22342234 # return exit code if notebook container has terminated
2235- notebook_container_name = pod ["metadata" ]["labels" ].get ("hub.jupyter.org/notebook_container_name" , "notebook" )
2235+ notebook_container_name = pod ["metadata" ]["labels" ].get (
2236+ "hub.jupyter.org/notebook_container_name" , "notebook"
2237+ )
22362238
22372239 if c ["name" ] == notebook_container_name :
22382240 if "terminated" in c ["state" ]:
You can’t perform that action at this time.
0 commit comments