From 33acdf68524eda8420c2bf4ea21255a0865f0374 Mon Sep 17 00:00:00 2001
From: Jonathan Voss <jvoss@onvox.net>
Date: Sat, 1 Jul 2023 09:56:22 -0500
Subject: isis: T5335: fix invalid isis config base in migration script

---
 src/migration-scripts/isis/0-to-1 | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/migration-scripts/isis/0-to-1 b/src/migration-scripts/isis/0-to-1
index 93cbbbed5..b75a7f72c 100755
--- a/src/migration-scripts/isis/0-to-1
+++ b/src/migration-scripts/isis/0-to-1
@@ -37,12 +37,9 @@ if not config.exists(base):
     # Nothing to do
     exit(0)
 
-# Only one IS-IS process is supported, thus this operation is save
-isis_base = base + config.list_nodes(base)
-
 # We need a temporary copy of the config
 tmp_base = ['protocols', 'isis2']
-config.copy(isis_base, tmp_base)
+config.copy(base, tmp_base)
 
 # Now it's save to delete the old configuration
 config.delete(base)
-- 
cgit v1.2.3