diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-01 19:43:12 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-10-01 19:43:12 +0200 |
commit | 3508feea888bfc0d95eb8928d98afd50bc335eb9 (patch) | |
tree | 7f7482db335cfa633641a128432ae353b304a3b8 /python/vyos/ifconfig/control.py | |
parent | abe6cb06d387bff8e145db1c9848b8b6c3612acb (diff) | |
download | vyos-1x-3508feea888bfc0d95eb8928d98afd50bc335eb9.tar.gz vyos-1x-3508feea888bfc0d95eb8928d98afd50bc335eb9.zip |
configdict: T2372: use config.exists() when probing for interface removal
We must use exists() as get_config_dict() will always return {} - even when an
empty interface node like
+macsec macsec1 {
+}
exists.
Diffstat (limited to 'python/vyos/ifconfig/control.py')
0 files changed, 0 insertions, 0 deletions