update prometheus dependencies (#5520)
Signed-off-by: junot <junotxiang@kubesphere.io>
This commit is contained in:
4
vendor/github.com/go-openapi/spec/ref.go
generated
vendored
4
vendor/github.com/go-openapi/spec/ref.go
generated
vendored
@@ -48,7 +48,7 @@ type Ref struct {
|
||||
// RemoteURI gets the remote uri part of the ref
|
||||
func (r *Ref) RemoteURI() string {
|
||||
if r.String() == "" {
|
||||
return r.String()
|
||||
return ""
|
||||
}
|
||||
|
||||
u := *r.GetURL()
|
||||
@@ -68,7 +68,7 @@ func (r *Ref) IsValidURI(basepaths ...string) bool {
|
||||
}
|
||||
|
||||
if r.HasFullURL {
|
||||
//#nosec
|
||||
//nolint:noctx,gosec
|
||||
rr, err := http.Get(v)
|
||||
if err != nil {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user