build(deps): bump github.com/open-policy-agent/opa from 0.70.0 to 1.4.2
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.70.0 to 1.4.2. - [Release notes](https://github.com/open-policy-agent/opa/releases) - [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-policy-agent/opa/compare/v0.70.0...v1.4.2) --- updated-dependencies: - dependency-name: github.com/open-policy-agent/opa dependency-version: 1.4.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
1 parent
12415ad52b
commit
8fc5bd239f
532 files changed
+100497
-41700
No files matched your search
-4
@@ -31,11 +31,7 @@ func (s *stringArrayValue) Append(val string) error {
|
||||
func (s *stringArrayValue) Replace(val []string) error {
|
||||
out := make([]string, len(val))
|
||||
for i, d := range val {
|
||||
var err error
|
||||
out[i] = d
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
*s.value = out
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user