Skip to content

Commit 27b7cc4

Browse files
committed
fix: resolve merge conflicts with main
2 parents 3ef8bd9 + 37daf23 commit 27b7cc4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/policy/engine.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ func (e *Engine) EvaluateSandbox(spec api.SandboxSpec) error {
9393
return nil
9494
}
9595

96-
func (e *Engine) EvaluateExec (req api.ExecRequest) error {
96+
func (e *Engine) EvaluateExec(req api.ExecRequest) error {
9797
if len(req.Command) == 0 {
9898
return errors.New("no command provided")
9999
}
100100

101101
binary := req.Command[0]
102-
allowed := false
102+
allowed := false
103103
for _, command := range e.AllowedCommands {
104104
if binary == command {
105105
allowed = true

0 commit comments

Comments
 (0)