Skip to content

Commit fc829b6

Browse files
Update xcp/net/ifrename/logic.py
Co-authored-by: Copilot <[email protected]>
1 parent 95d9a64 commit fc829b6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

xcp/net/ifrename/logic.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -397,11 +397,7 @@ def rename(static_rules, cur_state, last_state, old_state):
397397
398398
Raises
399399
------
400-
StaticRuleError: If any of the following conditions are met in static rules:
401-
- kname is not None
402-
- tname does not start with 'eth'
403-
- there are duplicate eth names
404-
- there are duplicate MAC addresses
400+
StaticRuleError: If a static rule has kname not None, tname not starting with 'eth', duplicate eth names, or duplicate MAC addresses.
405401
CurrentStateError: If the current state contains invalid entries.
406402
LastStateError: If the last state contains invalid entries.
407403
TypeError: If any of the input lists contain objects that are not MACPCI instances.

0 commit comments

Comments
 (0)