aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/exec.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-09 18:33:49 +0900
committerOphestra <cat@gensokyo.uk>2026-03-09 18:38:31 +0900
commit19a2737148609f0b40ea31cf5cd0cb809b60722f (patch)
treed1317481736578f02e81a7a9ce2d50c8776e3d40 /internal/pkg/exec.go
parentbaf2def9cc201ee4ae5bab2d31e35c7904d090f9 (diff)
container: sched policy string representation
This also uses priority obtained via sched_get_priority_min, and improves bounds checking. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/exec.go')
-rw-r--r--internal/pkg/exec.go2
1 files changed, 1 insertions, 1 deletions
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].