Skip to content

Commit

Permalink
cache: fix pod ScopeExpression().
Browse files Browse the repository at this point in the history
Fixes broken e2e case in test00.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
  • Loading branch information
klihub committed Mar 15, 2024
1 parent 34db7ea commit e634309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resmgr/cache/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (p *pod) GetContainerAffinity(name string) ([]*Affinity, error) {

func (p *pod) ScopeExpression() *resmgr.Expression {
return &resmgr.Expression{
Key: kubernetes.PodNameLabel,
Key: "pod/name",
Op: resmgr.Equals,
Values: []string{p.GetName()},
}
Expand Down

0 comments on commit e634309

Please sign in to comment.