Upgrade kube dependencies and snapshotter client kube deps to v0.25.2

This commit is contained in:
Raunak Pradip Shah
2022-09-22 19:36:59 +05:30
parent 5d5cf70a93
commit e167bfff11
263 changed files with 9542 additions and 11769 deletions

View File

@@ -30,8 +30,8 @@ import (
"net/url"
"strings"
"github.com/PuerkitoBio/purell"
"github.com/go-openapi/jsonpointer"
"github.com/go-openapi/jsonreference/internal"
)
const (
@@ -114,7 +114,9 @@ func (r *Ref) parse(jsonReferenceString string) error {
return err
}
r.referenceURL, _ = url.Parse(purell.NormalizeURL(parsed, purell.FlagsSafe|purell.FlagRemoveDuplicateSlashes))
internal.NormalizeURL(parsed)
r.referenceURL = parsed
refURL := r.referenceURL
if refURL.Scheme != "" && refURL.Host != "" {