fix: error
All checks were successful
Go Bump / bump (push) Successful in 43s
Go Test / test (push) Successful in 56s

This commit is contained in:
xuu 2023-10-01 16:56:28 -06:00
parent bcadac0f07
commit 6bb1d524b9
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/ev
User=www-data
Restart=always
RestartSec=30

View File

@ -95,7 +95,7 @@ func (s *service) Run(ctx context.Context) (err error) {
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
defer cancel()
err = multierr.Combine(subReq.Close(ctx), subRes.Close(ctx), err)
err = multierr.Combine(errs, subReq.Close(ctx), subRes.Close(ctx))
}()
if errs != nil {