Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Fix: Handle regression caused by gorilla mux v1.7.0#7625

Merged
harshavardhana merged 1 commit intominio:masterfrom
kannappanr:route
May 7, 2019
Merged

Fix: Handle regression caused by gorilla mux v1.7.0#7625
harshavardhana merged 1 commit intominio:masterfrom
kannappanr:route

Conversation

@kannappanr
Copy link
Contributor

Description

PR #7595 fixed part of the regression, but did not handle the
scenario, where in docker, the internal port is different from
the port on the host.

This PR modifies the regular expression such that all the
scenarios are handled.

Fixes #7619

Motivation and Context

Issues #7577 and #7619

Regression

Yes

How Has This Been Tested?

with steps mentioned in #7577

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added unit tests to cover my changes.
  • I have added/updated functional tests in mint. (If yes, add mint PR # here: )
  • All new and existing tests passed.

PR minio#7595 fixed part of the regression, but did not handle the
scenario, where in docker, the internal port is different from
the port on the host.

This PR modifies the regular expression such that all the
scenarios are handled.

Fixes minio#7619
@kannappanr kannappanr requested a review from krishnasrinivas May 7, 2019 00:33
@codecov
Copy link

codecov bot commented May 7, 2019

Codecov Report

Merging #7625 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7625      +/-   ##
==========================================
- Coverage   47.31%   47.29%   -0.03%     
==========================================
  Files         293      293              
  Lines       46726    46722       -4     
==========================================
- Hits        22109    22097      -12     
- Misses      22567    22572       +5     
- Partials     2050     2053       +3
Impacted Files Coverage Δ
cmd/api-router.go 100% <100%> (ø) ⬆️
cmd/fs-v1-helpers.go 67.57% <0%> (-0.61%) ⬇️
cmd/fs-v1.go 61.61% <0%> (-0.38%) ⬇️
cmd/posix.go 62.14% <0%> (-0.3%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 08b9244...b9e890f. Read the comment docs.

@minio-ops
Copy link

Mint Automation

Test Result
mint-compression-xl.sh ✔️
mint-xl.sh ✔️
mint-large-bucket.sh ✔️
mint-compression-dist-xl.sh ✔️
mint-compression-fs.sh ✔️
mint-worm.sh ✔️
mint-fs.sh ✔️
mint-dist-xl.sh ✔️
mint-gateway-nas.sh ✔️

@harshavardhana harshavardhana merged commit c422f7f into minio:master May 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bucket name captured incorrectly when using MINIO_DOMAIN

4 participants