Maj terminée. Pour consulter la release notes associée voici le lien :

Commit 5a2b49f8 authored by LOUP David's avatar LOUP David
Browse files

[lib/gen/reference-api] Fix the case where kavlan is disabled on a cluster (for ruby 2.1.5)

parent f4925301
Pipeline #189073 passed with stages
in 8 minutes and 19 seconds
......@@ -307,7 +307,7 @@ def generate_reference_api
# If kavlan entry is not defined here, set it node's kavlan description
network_adapter["kavlan"] ||= node["kavlan"].keys.include?(network_adapter["device"]) ? true : false rescue false
network_adapter["kavlan"] ||= node["kavlan"].nil? ? false : node["kavlan"].keys.include?(network_adapter["device"]) ? true : false
network_adapter.delete("network_address") if network_adapter["network_address"] == 'none'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment