Skip to content

Commit 64fe33f

Browse files
authored
Merge pull request #636 from klihub/fixes/policy/podpools/reflect-tags
podpools: fix reflect JSON tag typo.
2 parents 8bfc330 + bb7f4a1 commit 64fe33f

File tree

1 file changed

+2
-2
lines changed
  • pkg/cri/resource-manager/policy/builtin/podpools

1 file changed

+2
-2
lines changed

pkg/cri/resource-manager/policy/builtin/podpools/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import (
2525
// PodpoolsOptions contains configuration options specific to this policy.
2626
type PodpoolsOptions struct {
2727
// PinCPU controls pinning containers to CPUs.
28-
PinCPU bool `json:"PinCPU",omitempty`
28+
PinCPU bool `json:"PinCPU,omitempty"`
2929
// PinMemory controls pinning containers to memory nodes.
30-
PinMemory bool `json:"PinMemory",omitempty`
30+
PinMemory bool `json:"PinMemory,omitempty"`
3131
// PoolDefs contains pool definitions
3232
PoolDefs []*PoolDef `json:"Pools,omitempty"`
3333
}

0 commit comments

Comments
 (0)