build(deps): bump github.com/checkpoint-restore/go-criu/v7

Bumps [github.com/checkpoint-restore/go-criu/v7](https://github.com/checkpoint-restore/go-criu) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/checkpoint-restore/go-criu/releases)
- [Commits](https://github.com/checkpoint-restore/go-criu/compare/v7.0.0...v7.1.0)

---
updated-dependencies:
- dependency-name: github.com/checkpoint-restore/go-criu/v7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2024-03-18 23:08:01 +00:00
committed by GitHub
parent d3a77cbb2c
commit 0fafc0c500
7 changed files with 17 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
package criu
import (
"fmt"
"errors"
"github.com/checkpoint-restore/go-criu/v7/rpc"
)
@@ -38,7 +38,7 @@ func (c *Criu) FeatureCheck(features *rpc.CriuFeatures) (*rpc.CriuFeatures, erro
}
if resp.GetType() != rpc.CriuReqType_FEATURE_CHECK {
return nil, fmt.Errorf("unexpected CRIU RPC response")
return nil, errors.New("unexpected CRIU RPC response")
}
return features, nil