mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Abhisek Datta <abhisek.datta@gmail.com>
This commit is contained in:
@@ -75,7 +75,7 @@ func ApplySandbox(ctx context.Context, cmd *exec.Cmd, pmName string) (*sandbox.E
|
||||
}
|
||||
|
||||
if !sb.IsAvailable() {
|
||||
return nil, fmt.Errorf("sandbox %s not available, running without sandbox", sb.Name())
|
||||
return nil, fmt.Errorf("sandbox %s is required but not available", sb.Name())
|
||||
}
|
||||
|
||||
log.Debugf("Running %s in %s sandbox with policy %s", pmName, sb.Name(), policy.Name)
|
||||
|
||||
Reference in New Issue
Block a user