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

pull/10625/head
Khanh Ngo Van Kim 2023-11-15 22:06:42 +07:00 committed by GitHub
parent 7ba85710ad
commit adb8ff14b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ oom_score = {{ containerd_oom_score }}
{% endif %} {% endif %}
{% endfor %} {% 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"] [plugins."io.containerd.nri.v1.nri"]
disable = false disable = false
{% endif %} {% endif %}