summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc_collector/soc_collector_cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc_collector/soc_collector_cli.py b/src/soc_collector/soc_collector_cli.py
index 914db17..b579108 100644
--- a/src/soc_collector/soc_collector_cli.py
+++ b/src/soc_collector/soc_collector_cli.py
@@ -126,7 +126,7 @@ def replace_action(data: str) -> None:
req.raise_for_status()
json_data = json.loads(req.text)
- print(f'Inserted data OK - key: {json_data["_id"]}')
+ print(f'Replaced data OK - key: {json_data["key"]}')
def insert_action(data: str) -> None:
@@ -144,7 +144,7 @@ def insert_action(data: str) -> None:
req.raise_for_status()
json_data = json.loads(req.text)
- print(f'Inserted data OK - key: {json_data["_id"]}')
+ print(f'Inserted data OK - key: {json_data["key"]}')
def get_action(data: str) -> None: