From 563584865480c5a0ca8bc9bbf1ade63a967d8815 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Fri, 6 Jul 2018 12:18:24 +0530 Subject: [PATCH] Fix typo in cliconf pluign (#42399) * Fix capability key typo error in ios, eos and vyos cliconf plugins. --- lib/ansible/plugins/cliconf/__init__.py | 6 +++--- lib/ansible/plugins/cliconf/eos.py | 4 ++-- lib/ansible/plugins/cliconf/ios.py | 4 ++-- lib/ansible/plugins/cliconf/vyos.py | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/ansible/plugins/cliconf/__init__.py b/lib/ansible/plugins/cliconf/__init__.py index 8ed620e31e..ff211ce02e 100644 --- a/lib/ansible/plugins/cliconf/__init__.py +++ b/lib/ansible/plugins/cliconf/__init__.py @@ -262,9 +262,9 @@ class CliconfBase(AnsiblePlugin): 'supports_onbox_diff: , # identify if on box diff capability is supported or not 'supports_generate_diff: , # identify if diff capability is supported within plugin 'supports_multiline_delimiter: , # identify if multiline demiliter is supported within config - 'support_diff_match: , # identify if match is supported - 'support_diff_ignore_lines: , # identify if ignore line in diff is supported - 'support_config_replace': , # identify if running config replace with candidate config is supported + 'supports_diff_match: , # identify if match is supported + 'supports_diff_ignore_lines: , # identify if ignore line in diff is supported + 'supports_config_replace': , # identify if running config replace with candidate config is supported } 'format': [list of supported configuration format], 'diff_match': [list of supported match values], diff --git a/lib/ansible/plugins/cliconf/eos.py b/lib/ansible/plugins/cliconf/eos.py index 860f788051..3f7d549817 100644 --- a/lib/ansible/plugins/cliconf/eos.py +++ b/lib/ansible/plugins/cliconf/eos.py @@ -298,8 +298,8 @@ class Cliconf(CliconfBase): 'supports_onbox_diff': True if self.supports_sessions else False, 'supports_commit_comment': False, 'supports_multiline_delimiter': False, - 'support_diff_match': True, - 'support_diff_ignore_lines': True, + 'supports_diff_match': True, + 'supports_diff_ignore_lines': True, 'supports_generate_diff': True, 'supports_replace': True if self.supports_sessions else False } diff --git a/lib/ansible/plugins/cliconf/ios.py b/lib/ansible/plugins/cliconf/ios.py index d8af8444a2..7a4faa96ee 100644 --- a/lib/ansible/plugins/cliconf/ios.py +++ b/lib/ansible/plugins/cliconf/ios.py @@ -203,8 +203,8 @@ class Cliconf(CliconfBase): 'supports_onbox_diff': False, 'supports_commit_comment': False, 'supports_multiline_delimiter': False, - 'support_diff_match': True, - 'support_diff_ignore_lines': True, + 'supports_diff_match': True, + 'supports_diff_ignore_lines': True, 'supports_generate_diff': True, 'supports_replace': False } diff --git a/lib/ansible/plugins/cliconf/vyos.py b/lib/ansible/plugins/cliconf/vyos.py index acc611b273..0af5589234 100644 --- a/lib/ansible/plugins/cliconf/vyos.py +++ b/lib/ansible/plugins/cliconf/vyos.py @@ -233,8 +233,8 @@ class Cliconf(CliconfBase): 'supports_onbox_diff': True, 'supports_commit_comment': True, 'supports_multiline_delimiter': False, - 'support_diff_match': True, - 'support_diff_ignore_lines': False, + 'supports_diff_match': True, + 'supports_diff_ignore_lines': False, 'supports_generate_diff': True, 'supports_replace': False }