update prometheus dependencies (#5520)
Signed-off-by: junot <junotxiang@kubesphere.io>
This commit is contained in:
18
vendor/github.com/go-openapi/runtime/file.go
generated
vendored
18
vendor/github.com/go-openapi/runtime/file.go
generated
vendored
@@ -14,20 +14,6 @@
|
||||
|
||||
package runtime
|
||||
|
||||
import "mime/multipart"
|
||||
import "github.com/go-openapi/swag"
|
||||
|
||||
// File represents an uploaded file.
|
||||
type File struct {
|
||||
Data multipart.File
|
||||
Header *multipart.FileHeader
|
||||
}
|
||||
|
||||
// Read bytes from the file
|
||||
func (f *File) Read(p []byte) (n int, err error) {
|
||||
return f.Data.Read(p)
|
||||
}
|
||||
|
||||
// Close the file
|
||||
func (f *File) Close() error {
|
||||
return f.Data.Close()
|
||||
}
|
||||
type File = swag.File
|
||||
|
||||
Reference in New Issue
Block a user