diff options
author | Sumit Jaiswal <sjaiswal@redhat.com> | 2019-09-04 15:51:05 +0530 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2019-09-04 12:06:58 -0700 |
commit | 58fda1632f394d5f5885a311c86ac68201e143fd (patch) | |
tree | 1e0475bffa0837ee5192f26430df1c5f4ebd229a /lib/ansible/module_utils/network/ios/utils | |
parent | fa3d52729cd7e4d0e5f1d63dc8035e6a41038181 (diff) | |
download | ansible-58fda1632f394d5f5885a311c86ac68201e143fd.tar.gz |
Fixes IOS L3 intermittent zuul failure (#61682)
* fix ios l3 intermittent failure
* fix self
* dict to ordered dict
* fix diff_again fn
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* remove orderdict as its expensive
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* update verify fn
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
(cherry picked from commit 2672dc9694f3fe80c7a817f81554a6c8561b065b)
Diffstat (limited to 'lib/ansible/module_utils/network/ios/utils')
-rw-r--r-- | lib/ansible/module_utils/network/ios/utils/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/network/ios/utils/utils.py b/lib/ansible/module_utils/network/ios/utils/utils.py index f9a4b9c0ff..9c30c1bdbd 100644 --- a/lib/ansible/module_utils/network/ios/utils/utils.py +++ b/lib/ansible/module_utils/network/ios/utils/utils.py @@ -30,7 +30,7 @@ def add_command_to_config_list(interface, cmd, commands): def dict_to_set(sample_dict): # Generate a set with passed dictionary for comparison - test_dict = {} + test_dict = dict() if isinstance(sample_dict, dict): for k, v in iteritems(sample_dict): if v is not None: |