From 19a2737148609f0b40ea31cf5cd0cb809b60722f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 9 Mar 2026 18:33:49 +0900 Subject: container: sched policy string representation This also uses priority obtained via sched_get_priority_min, and improves bounds checking. Signed-off-by: Ophestra --- internal/pkg/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/pkg') diff --git a/internal/pkg/exec.go b/internal/pkg/exec.go index eb72ccbd..c7248f1a 100644 --- a/internal/pkg/exec.go +++ b/internal/pkg/exec.go @@ -40,7 +40,7 @@ type ExecPath struct { } // SchedPolicy is the [container] scheduling policy. -var SchedPolicy int +var SchedPolicy container.SchedPolicy // PromoteLayers returns artifacts with identical-by-content layers promoted to // the highest priority instance, as if mounted via [ExecPath]. -- cgit v1.3.1