Skip to content

fix #151 Zadm->Validator->zoneNic should validate $name against list of physical nics#152

Merged
citrus-it merged 2 commits into
omniosorg:masterfrom
sjorge:patch-1
Jul 2, 2025
Merged

fix #151 Zadm->Validator->zoneNic should validate $name against list of physical nics#152
citrus-it merged 2 commits into
omniosorg:masterfrom
sjorge:patch-1

Conversation

@sjorge

@sjorge sjorge commented Jul 1, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@hadfl hadfl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you are on it, could you please rename the $name parameter to $nic and $nic to $net as I mentioned it in the issue?

This way we'll match the property naming in the globalNic validator, leading to less confusion.

@oetiker oetiker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extremely well hidden action at a distance to fix the problem on line 171 :)

@citrus-it citrus-it merged commit dab82bc into omniosorg:master Jul 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants