-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug/SK-931 | --preferred-combiner should not be boolean #667
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have changed my mind, let keep the name preferred_combiner otherwise it will have conflicts with new feature --combiner and --proxy-host
fedn/network/clients/connect.py
Outdated
@@ -38,7 +38,7 @@ class ConnectorClient: | |||
:param force_ssl: True if https is used, False if http | |||
:type force_ssl: bool | |||
:param verify: True if certificate is verified, False if not | |||
:type verify: bool | |||
:type verify: str |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this changed to "str"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because this param is for preferred-combiner which will be the name of the combiner, so verifying if it is string.
This reverts commit f75159c.
@@ -47,7 +47,7 @@ | |||
"secure": False, | |||
"preshared_cert": False, | |||
"verify": False, | |||
"preferred_combiner": False, | |||
"combiner": "combiner", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can remove this
Changed --preferred-combiner flag in run_cmd and client_cmd to --combiner
Type change from boolean to string