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

Allow integers for timeouts #2294

Merged
merged 1 commit into from
Aug 17, 2022
Merged

Conversation

traylenator
Copy link
Contributor

Timeouts are more naturally written as integers, allow them.

We have run with integers here for many years.

@traylenator traylenator requested a review from a team as a code owner August 15, 2022 11:47
@puppet-community-rangefinder
Copy link

apache::mod::auth_cas is a class

Breaking changes to this file WILL impact these 1 modules (exact match):

apache::mod::proxy is a class

Breaking changes to this file WILL impact these 16 modules (exact match):
Breaking changes to this file MAY impact these 2 modules (near match):

This module is declared in 174 of 579 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@traylenator
Copy link
Contributor Author

CLA assistant check Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

The CLA is signed on behalf of CERN IT.

Copy link
Collaborator

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

In ae56cc9 initial data types were added and in f41251e we replaced a lot of the Strings with Integers, but clearly missed this.

#2290 is another instance of this. There I suggested to support a Variant (as you did here) and in #2291 we're making notes to drop the compatibility in the next major version. It looks like your PR would supersede #2290.

@traylenator
Copy link
Contributor Author

traylenator commented Aug 15, 2022

In ae56cc9 initial data types were added and in f41251e we replaced a lot of the Strings with Integers, but clearly missed this.

#2290 is another instance of this. There I suggested to support a Variant (as you did here) and in #2291 we're making notes to drop the compatibility in the next major version. It looks like your PR would supersede #2290.

Agreed supersedes #2290 - should have looked first of course.

Timeouts are more naturally written as integers, allow them.
Copy link
Collaborator

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I recall your org has signed the CLA, but the check is wrong. @david22swan @traylenator can you figure this out? The code looks good and solves a regression. After this a new release would be good to have.

@ekohl ekohl added the bugfix label Aug 17, 2022
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

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

LGTM
Thank's for putting up the fix :)

As for the CLI, I'll take your word for it.
It's been buggy ever since it was implemented and this can happen.

@david22swan david22swan merged commit 04a914a into puppetlabs:main Aug 17, 2022
@traylenator traylenator deleted the timeout branch August 17, 2022 10:28
@ekohl ekohl linked an issue Aug 17, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

timeout param issue in mod::proxy
6 participants