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:
Abhisek Datta
2026-01-09 12:26:52 +05:30
committed by GitHub
co-authored by Copilot
parent b38d177707
commit 1229246926
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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)