Skip to content

Commit

Permalink
fix: invalid version check in containerd jinja-template config (#10620)
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhngobackend committed Nov 15, 2023
1 parent 7ba8571 commit adb8ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/container-engine/containerd/templates/config.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,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 %}
Expand Down

0 comments on commit adb8ff1

Please sign in to comment.