Add Minio tier type (#2302)

This commit is contained in:
jinapurapu
2022-09-15 12:00:39 -07:00
committed by GitHub
parent 77f62e11ef
commit 024ab1212b
67 changed files with 336 additions and 775 deletions

View File

@@ -23,7 +23,6 @@ package subnet
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"io"
"net/http"
@@ -83,7 +82,7 @@ func (o *SubnetLoginMFAParams) BindRequest(r *http.Request, route *middleware.Ma
res = append(res, err)
}
ctx := validate.WithOperationRequest(context.Background())
ctx := validate.WithOperationRequest(r.Context())
if err := body.ContextValidate(ctx, route.Formats); err != nil {
res = append(res, err)
}

View File

@@ -23,7 +23,6 @@ package subnet
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"io"
"net/http"
@@ -83,7 +82,7 @@ func (o *SubnetLoginParams) BindRequest(r *http.Request, route *middleware.Match
res = append(res, err)
}
ctx := validate.WithOperationRequest(context.Background())
ctx := validate.WithOperationRequest(r.Context())
if err := body.ContextValidate(ctx, route.Formats); err != nil {
res = append(res, err)
}

View File

@@ -23,7 +23,6 @@ package subnet
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"io"
"net/http"
@@ -83,7 +82,7 @@ func (o *SubnetRegisterParams) BindRequest(r *http.Request, route *middleware.Ma
res = append(res, err)
}
ctx := validate.WithOperationRequest(context.Background())
ctx := validate.WithOperationRequest(r.Context())
if err := body.ContextValidate(ctx, route.Formats); err != nil {
res = append(res, err)
}