Remove port 9000 for play.min.io (#2817)

Most corporate environments block port 9000,
since we already allow access from port 80 and
port 443 just default to https port instead.
This commit is contained in:
Harshavardhana
2019-07-10 21:16:45 +01:00
committed by kannappanr
parent df9320134b
commit aa3c9f58df
13 changed files with 58 additions and 60 deletions
+7 -7
View File
@@ -32,19 +32,19 @@ func TestParseURLEnv(t *testing.T) {
success bool
}{
{
envURL: "https://username:password@play.min.io:9000/",
expectedURL: "https://play.min.io:9000/",
envURL: "https://username:password@play.min.io/",
expectedURL: "https://play.min.io/",
expectedAccess: "username",
expectedSecret: "password",
success: true,
},
{
envURL: "https://play.min.io:9000/",
expectedURL: "https://play.min.io:9000/",
envURL: "https://play.min.io/",
expectedURL: "https://play.min.io/",
success: true,
},
{
envURL: "ftp://play.min.io:9000/",
envURL: "ftp://play.min.io/",
success: false,
},
{
@@ -52,11 +52,11 @@ func TestParseURLEnv(t *testing.T) {
success: false,
},
{
envURL: "https://play.min.io:9000/path",
envURL: "https://play.min.io/path",
success: false,
},
{
envURL: "https://play.min.io:9000/?path=value",
envURL: "https://play.min.io/?path=value",
success: false,
},
}