Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

[Settings] Allow configuring a mirror fallback timeout without a trailing slash #5608

Merged
merged 1 commit into from
Apr 28, 2017

Conversation

segiddins
Copy link
Member

Closes #4830

@@ -117,7 +118,7 @@ class MirrorConfig

def initialize(config_line, value)
uri, fallback =
config_line.match(%r{^mirror\.(all|.+?)(\.fallback_timeout)?\/?$}).captures
config_line.match(%r{\Amirror\.(all|.+?)(\.fallback_timeout)?\/?\z}).captures
Copy link
Member

Choose a reason for hiding this comment

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

out of curiosity what's the reason for this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

preference -- I don't like using ^$ since they're relative to a line, rather than the whole string

@indirect
Copy link
Member

@bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit f4fb8cb has been approved by indirect

@bundlerbot
Copy link
Collaborator

⌛ Testing commit f4fb8cb with merge b2efb3d...

bundlerbot added a commit that referenced this pull request Apr 27, 2017
…ndirect

[Settings] Allow configuring a mirror fallback timeout without a trailing slash

Closes #4830
@bundlerbot
Copy link
Collaborator

☀️ Test successful - status-travis
Approved by: indirect
Pushing b2efb3d to master...

@bundlerbot bundlerbot merged commit f4fb8cb into master Apr 28, 2017
@segiddins segiddins modified the milestone: 1.15.0.pre.3 Apr 28, 2017
@segiddins segiddins deleted the seg-config-mirror-fallback-timeout branch April 30, 2017 08:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants