[#2] Remove unused variables
Signed-off-by: Aleksey Kravchenko <al.kravchenko@yadro.com>
This commit is contained in:
parent
ca638bd459
commit
36b2093087
1 changed files with 3 additions and 3 deletions
|
@ -45,11 +45,11 @@ func NewFactory() location.Factory {
|
|||
return location.NewHTTPBackendFactory("frostfs", ParseConfig, location.NoPassword, Create, Open)
|
||||
}
|
||||
|
||||
func Open(ctx context.Context, cfg Config, rt http.RoundTripper) (backend.Backend, error) {
|
||||
func Open(ctx context.Context, cfg Config, _ http.RoundTripper) (backend.Backend, error) {
|
||||
return open(ctx, cfg)
|
||||
}
|
||||
|
||||
func Create(ctx context.Context, cfg Config, rt http.RoundTripper) (backend.Backend, error) {
|
||||
func Create(ctx context.Context, cfg Config, _ http.RoundTripper) (backend.Backend, error) {
|
||||
return open(ctx, cfg)
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@ func open(ctx context.Context, cfg Config) (backend.Backend, error) {
|
|||
}, nil
|
||||
}
|
||||
|
||||
func (b *Backend) IsPermanentError(err error) bool {
|
||||
func (b *Backend) IsPermanentError(error) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue