mirror of
https://github.com/kopia/kopia.git
synced 2026-05-24 14:44:47 -04:00
Upgraded linter to 1.40.1 (#1072)
* tools: upgraded linter to 1.40.1 * lint: fixed nolintlint vionlations * lint: disabled tagliatele linter * lint: fixed remaining warnings
This commit is contained in:
@@ -186,7 +186,7 @@ func (c *commandServerStart) run(ctx context.Context, rep repo.Repository) error
|
||||
return err
|
||||
}
|
||||
|
||||
return srv.SetRepository(ctx, nil)
|
||||
return errors.Wrap(srv.SetRepository(ctx, nil), "error setting active repository")
|
||||
}
|
||||
|
||||
func initPrometheus(mux *http.ServeMux) error {
|
||||
|
||||
Reference in New Issue
Block a user