From f82b158ee64d44e04a39c1ae006de339882c4121 Mon Sep 17 00:00:00 2001 From: Antti Kervinen Date: Wed, 23 Oct 2024 13:32:30 +0300 Subject: [PATCH] resmgr: fix resolving "qosclass" expression Signed-off-by: Antti Kervinen --- pkg/resmgr/cache/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/resmgr/cache/container.go b/pkg/resmgr/cache/container.go index 125e81421..306492883 100644 --- a/pkg/resmgr/cache/container.go +++ b/pkg/resmgr/cache/container.go @@ -1027,7 +1027,7 @@ func (c *container) EvalKey(key string) interface{} { case resmgr.KeyNamespace: return c.GetNamespace() case resmgr.KeyQOSClass: - return c.GetQOSClass() + return string(c.GetQOSClass()) case resmgr.KeyLabels: return c.Ctr.GetLabels() case resmgr.KeyTags: