diff --git a/docs/arista.eos.eos_config_module.rst b/docs/arista.eos.eos_config_module.rst
index 100a809fe..c13d627ae 100644
--- a/docs/arista.eos.eos_config_module.rst
+++ b/docs/arista.eos.eos_config_module.rst
@@ -194,6 +194,25 @@ Parameters
Use this argument to specify one or more lines that should be ignored during the diff. This is used for lines in the configuration that are automatically updated by the system. This argument takes a list of regular expressions or exact line matches.
+
+
+
+ diff_onbox
+
+
+ boolean
+
+ |
+
+
+ |
+
+ Specify the status for on-box-diff
+ |
+
diff --git a/plugins/cliconf/eos.py b/plugins/cliconf/eos.py
index e86d30f7c..f56f2cab0 100644
--- a/plugins/cliconf/eos.py
+++ b/plugins/cliconf/eos.py
@@ -211,7 +211,7 @@ def edit_config(
resp = {}
session = None
diff_onbox = self.get_option("diff_onbox")
-
+
if self.supports_sessions():
session = session_name()
resp.update({"session": session})
diff --git a/plugins/modules/eos_config.py b/plugins/modules/eos_config.py
index 5c809386b..6aa672667 100644
--- a/plugins/modules/eos_config.py
+++ b/plugins/modules/eos_config.py
@@ -471,7 +471,6 @@ def main():
except ConnectionError as exc:
module.fail_json(msg=to_text(exc, errors="surrogate_then_replace"))
-
config_diff = response["config_diff"]
if config_diff:
commands = config_diff.split("\n")
|