diff options
author | John Estabrook <jestabro@vyos.io> | 2022-03-23 08:42:40 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-03-23 08:42:40 -0500 |
commit | d193e5cb9040bfca5011400acef601e8c7111346 (patch) | |
tree | 380bf10dd354ca9ba355c0b21feefe88d9cc7157 /src/migration-scripts/bgp | |
parent | 34bb64b361b7887def8f507eab1c99fff44165cf (diff) | |
download | vyos-1x-d193e5cb9040bfca5011400acef601e8c7111346.tar.gz vyos-1x-d193e5cb9040bfca5011400acef601e8c7111346.zip |
bgp: T4314: add missing check to migration script
Diffstat (limited to 'src/migration-scripts/bgp')
-rwxr-xr-x | src/migration-scripts/bgp/0-to-1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/bgp/0-to-1 b/src/migration-scripts/bgp/0-to-1 index b1d5a6514..5e9dffe1f 100755 --- a/src/migration-scripts/bgp/0-to-1 +++ b/src/migration-scripts/bgp/0-to-1 @@ -33,7 +33,7 @@ with open(file_name, 'r') as f: base = ['protocols', 'bgp'] config = ConfigTree(config_file) -if not config.exists(base): +if not config.exists(base) or not config.is_tag(base): # Nothing to do exit(0) |