Skip to content

Commit

Permalink
fix: invalid version check in containerd jinja-template config (kuber…
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhngobackend authored and pedromcpedro committed May 8, 2024
1 parent 775794e commit b6dff55
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 b6dff55

Please sign in to comment.