Browse Source

fix: Access outer scope .SystemdCgroup (#8761)

Signed-off-by: Texot <tete1030@gmail.com>
pull/8771/head
Texot 1 year ago committed by GitHub
parent
commit
f575a05be2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/agent/templates/templates_linux.go

2
pkg/agent/templates/templates_linux.go

@ -125,7 +125,7 @@ enable_keychain = true
runtime_type = "{{$v.RuntimeType}}"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes."{{$k}}".options]
BinaryName = "{{$v.BinaryName}}"
SystemdCgroup = {{ .SystemdCgroup }}
SystemdCgroup = {{ $.SystemdCgroup }}
{{end}}
`

Loading…
Cancel
Save