Skip to content
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

removed method that doesn't exist #34026

Merged
merged 2 commits into from
Jun 15, 2016
Merged

removed method that doesn't exist #34026

merged 2 commits into from
Jun 15, 2016

Conversation

bensherman
Copy link
Contributor

@bensherman bensherman commented Jun 14, 2016

What does this PR do?

This PR removes a line of code that doesn't exist.

s.protocol.set_timeout(15)

winrm.Session.protocol has no set_timeout method. There are two properties that are set to sane defaults.

DEFAULT_READ_TIMEOUT_SEC = 30
DEFAULT_OPERATION_TIMEOUT_SEC = 20
read_timeout_sec=DEFAULT_READ_TIMEOUT_SEC, 
operation_timeout_sec=DEFAULT_OPERATION_TIMEOUT_SEC, 

What issues does this PR fix or reference?

#34008

Tests written?

No

@bensherman bensherman changed the title removed method that doesn't work removed method that doesn't exist Jun 14, 2016
@rallytime
Copy link
Contributor

Thanks for updating this PR @bensherman - I was just about to suggest a check instead of completely removing it. We'll get this in once tests are done running. Thanks!

@rallytime rallytime added the bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch label Jun 15, 2016
@rallytime rallytime merged commit cce6bfa into saltstack:develop Jun 15, 2016
@rallytime rallytime added ZZZ[Done]-back-ported-bf RETIRED The pull request has been back-ported to an older branch. and removed bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch labels Jun 15, 2016
@bensherman bensherman deleted the 34008_fix_cloud branch June 15, 2016 20:48
rallytime pushed a commit that referenced this pull request Jun 15, 2016
* removed method that doesn't work

* added logic for method removed in recent version
gitebra pushed a commit to gitebra/salt that referenced this pull request Jun 16, 2016
* upstream/develop:
  removed method that doesn't exist (saltstack#34026)
  Fix wheel integration test (saltstack#34040)
  Updated latest version for doc site
  remove bad logic in wait_for_default_password (saltstack#33940)
  Removed `!`-password check (saltstack#33939)
  Added check for presence of Testinfra library (saltstack#34015)
  Always make changes to minion config if set (saltstack#34022)
  expose environment specific information stored in consul (saltstack#34027)
  Whitespace fix for develop (saltstack#34016)
  Raise a warning to a user if using Py2 byte-compiled files in Py3 (saltstack#34006)
  Fix hashlib module for python 3 (saltstack#34007)
gitebra pushed a commit to gitebra/salt that referenced this pull request Jun 19, 2016
* upstream/develop: (67 commits)
  Change 'Suse' to 'SUSE' in inspect_collector_test
  Add a test to check for disconnected minion messaging
  Fixes doc refresh bug on chrome mobile.
  Fixed a bug in the consul.py module that was preventing services (saltstack#34051)
  Back-port saltstack#34026 to 2016.3 (saltstack#34050)
  Ensure only one fileserver update in a masterless run
  Updated latest release version
  Always make changes to minion config if set (saltstack#34020)
  More YAML indentation fixes in state module examples (saltstack#34030)
  Warn when custom returners don't have minions kwarg in save_load
  Add note to release notes about returner minions kwarg change
  Fix loop over cache in auth checking!
  Save an entire minion cache traversal on each master pub
  Do not cache remote files if they are already cached
  Warn when custom returners don't have minions kwarg in save_load
  Add note to release notes about returner minions kwarg change
  Fix loop over cache in auth checking!
  Save an entire minion cache traversal on each master pub
  states.file: fix indentation in YAML examples (saltstack#34003)
  Lint fix for saltstack#34000 (saltstack#34005)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ZZZ[Done]-back-ported-bf RETIRED The pull request has been back-ported to an older branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants