mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Bumps [github.com/go-openapi/spec](https://github.com/go-openapi/spec) from 0.20.8 to 0.20.14. - [Commits](https://github.com/go-openapi/spec/compare/v0.20.8...v0.20.14) --- updated-dependencies: - dependency-name: github.com/go-openapi/spec dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 lines
158 B
Go
Generated
12 lines
158 B
Go
Generated
package spec
|
|
|
|
import "net/url"
|
|
|
|
func parseURL(s string) (*url.URL, error) {
|
|
u, err := url.Parse(s)
|
|
if err == nil {
|
|
u.OmitHost = false
|
|
}
|
|
return u, err
|
|
}
|