mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
tests: Do not allow forced type asserts (#20905)
This commit is contained in:
@@ -213,7 +213,6 @@ func NewEndpoint(arg string) (ep Endpoint, e error) {
|
||||
u.Path = u.Path[1:]
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
// Only check if the arg is an ip address and ask for scheme since its absent.
|
||||
// localhost, example.com, any FQDN cannot be disambiguated from a regular file path such as
|
||||
|
||||
Reference in New Issue
Block a user