From 8fbdf0c3d7c8c1ec81c114f629c4dbcd7c3555f9 Mon Sep 17 00:00:00 2001 From: Nilashish Chakraborty Date: Wed, 29 May 2024 15:17:16 +0530 Subject: [PATCH] changes due to cliconfbase updates (#862) Signed-off-by: NilashishC --- plugins/cliconf/nxos.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/cliconf/nxos.py b/plugins/cliconf/nxos.py index b3e15b80e..a8e12ff67 100644 --- a/plugins/cliconf/nxos.py +++ b/plugins/cliconf/nxos.py @@ -215,9 +215,16 @@ def edit_config( candidate=None, commit=True, replace=None, + diff=False, comment=None, err_responses=None, ): + if diff: + self._connection.queue_message( + "warning", + message="setting `diff=True` in edit_config() no effect for platform cisco.nxos", + ) + resp = {} operations = self.get_device_operations() self.check_edit_config_capability(