mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-16 18:15:11 +00:00
realm.rm_port: Don't spout an error if the port exists, just return False.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -231,7 +231,7 @@ class Realm(LFCliBase):
|
||||
req_url = "/cli-json/rm_vlan"
|
||||
eid = self.name_to_eid(port_eid)
|
||||
if check_exists:
|
||||
if not self.port_exists(port_eid, debug=debug_):
|
||||
if not self.port_exists(port_eid, debug=False):
|
||||
return False
|
||||
|
||||
data = {
|
||||
|
||||
Reference in New Issue
Block a user