Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann committed Apr 16, 2024
1 parent aa3cc5a commit 5ead668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion partition/roles/sonic/templates/metal.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ PORT:
{% if 'parent_port' in running_cfg %}
parent_port: {{ running_cfg.parent_port }}
{% endif %}
{% if 'name' in sonic_ports_dict %}
{% if sonic_ports_dict[name] is defined %}
{% set port = sonic_ports_dict[name] %}
admin_status: up
speed: "{{ port.speed|default(sonic_ports_default_speed) }}"
Expand Down

0 comments on commit 5ead668

Please sign in to comment.