Skip to content

Commit 2de0b95

Browse files
Fix AttributeError exception seen when testing 201911 image. (#4178)
201911 does not require loading of database config. Add the right exception so that the exception of load db config can be ignored for 201911 image. Signed-off-by: Suvarna Meenakshi <sumeenak@microsoft.com>
1 parent 8c8d3aa commit 2de0b95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ansible/module_utils/multi_asic_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ def load_db_config():
2020
pass
2121
except NameError:
2222
pass
23+
except AttributeError:
24+
pass

0 commit comments

Comments
 (0)