From fe0bcebd30b6711393127f1568da684e5d4dd77f Mon Sep 17 00:00:00 2001
From: armingol <pablo.armingolrobles@telefonica.com>
Date: Fri, 23 Dec 2022 12:29:11 +0100
Subject: [PATCH] Correct the delete error message

---
 src/device/service/driver_api/Tools.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/device/service/driver_api/Tools.py b/src/device/service/driver_api/Tools.py
index 19c81d89b..2d8ce8530 100644
--- a/src/device/service/driver_api/Tools.py
+++ b/src/device/service/driver_api/Tools.py
@@ -28,7 +28,7 @@ def _set(resource : Tuple[str, Any]):
     return ACTION_MSG_SET.format(*tuple(map(str, resource)))
 
 def _delete(resource : Tuple[str, Any]):
-    return ACTION_MSG_SET.format(*tuple(map(str, resource)))
+    return ACTION_MSG_DELETE.format(*tuple(map(str, resource)))
 
 def _subscribe(subscription : Tuple[str, float, float]):
     return ACTION_MSG_SUBSCRIBE.format(*tuple(map(str, subscription)))
-- 
GitLab