Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Add support for https etcd access. #30

Closed
wants to merge 1 commit into from
Closed

Conversation

kit1980
Copy link
Contributor

@kit1980 kit1980 commented Jan 14, 2020

As discussed in #28

@kit1980
Copy link
Contributor Author

kit1980 commented Jan 14, 2020

I've verified this is working for me on my setup to access etcd with certs/key.

Copy link
Contributor

@kiukchung kiukchung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this! looks good overall. I had a small nitpick comment :)

"""
import re
from urllib.parse import urlparse

url = urlparse(url)
assert url.scheme == "etcd"

kwargs = {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move the declaration + initialization of kwargs = {} down to line 1169 so that it is closer where it is used? and also extract the kwargs parsing to a method (e.g. parse_etcd_client_params(params) -> Dict)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome looks great! thanks! will merge to trunk.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kiukchung has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kit1980 has updated the pull request. Re-import the pull request

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kiukchung has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kiukchung merged this pull request in 6721147.

facebook-github-bot pushed a commit that referenced this pull request Jun 5, 2021
Summary:
Pull Request resolved: pytorch/torchx#30

The diff renames Application to AppDef, only inside torchx, exposing it as Application in tsm dir for BC

Reviewed By: kiukchung

Differential Revision: D28853523

fbshipit-source-id: a5869c49b1d38ef97c2beeb9374d142cf9364be5
fotstrt pushed a commit to eth-easl/elastic that referenced this pull request Feb 17, 2022
Summary:
As discussed in pytorch#28
Pull Request resolved: pytorch#30

Differential Revision: D19398066

Pulled By: kiukchung

fbshipit-source-id: 528f45519cb357efc02cc1e9b5774a9e395a70a8
fotstrt pushed a commit to eth-easl/elastic that referenced this pull request Feb 17, 2022
Summary:
Pull Request resolved: pytorch/torchx#30

The diff renames Application to AppDef, only inside torchx, exposing it as Application in tsm dir for BC

Reviewed By: kiukchung

Differential Revision: D28853523

fbshipit-source-id: a5869c49b1d38ef97c2beeb9374d142cf9364be5
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants