Skip to content

Commit b141654

Browse files
committed
feature: Support for remote docker host
1 parent 8af9d25 commit b141654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/local/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,6 @@ def get_docker_host():
145145
docker_context_host_url = json.loads(docker_context_string)[0]['Endpoints']['docker']['Host']
146146
parsed_url = urlparse(docker_context_host_url)
147147
docker_host = parsed_url.hostname if parsed_url.hostname and parsed_url.scheme=="tcp" else "localhost"
148-
except Exception as e:
148+
except Exception:
149149
docker_host = "localhost"
150150
return docker_host

0 commit comments

Comments
 (0)