fix: invalid version check in containerd jinja-template config (#10620)

This commit is contained in:
Khanh Ngo Van Kim 2023-11-15 22:06:42 +07:00 committed by Florian Ruynat
parent 10679ebb5d
commit 72da838519

View File

@ -78,7 +78,7 @@ oom_score = {{ containerd_oom_score }}
{% endif %}
{% endfor %}
{% if nri_enabled and containerd_version >= 1.7.0 %}
{% if nri_enabled and containerd_version is version('1.7.0', '>=') %}
[plugins."io.containerd.nri.v1.nri"]
disable = false
{% endif %}