(path=None, tls=False)
| 73 | |
| 74 | |
| 75 | def get_context_host(path=None, tls=False): |
| 76 | host = utils.parse_host(path, IS_WINDOWS_PLATFORM, tls) |
| 77 | if host == DEFAULT_UNIX_SOCKET: |
| 78 | # remove http+ from default docker socket url |
| 79 | if host.startswith("http+"): |
| 80 | host = host[5:] |
| 81 | return host |
no outgoing calls
no test coverage detected