Skip to content

Commit 1e9d9d9

Browse files
Fix python-box compatability (#848) (#858)
Co-authored-by: Jacob Tomlinson <[email protected]>
1 parent 84846b1 commit 1e9d9d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dask_kubernetes/operator/networking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async def get_external_address_for_scheduler_service(
7979
def _get_port(service, port_name, is_node_port=False):
8080
"""NodePort is a special case when we have to use node_port instead of node"""
8181
[port] = [
82-
port.port if not is_node_port else port.node_port
82+
port.port if not is_node_port else port.nodePort
8383
for port in service.spec.ports
8484
if port.name == service.metadata.name or port.name == port_name
8585
]

0 commit comments

Comments
 (0)