summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Näslund <victor@sunet.se>2022-11-16 20:52:51 +0100
committerVictor Näslund <victor@sunet.se>2022-11-16 20:52:51 +0100
commit0660799e8854f57951cb9e65e684348a83078424 (patch)
treeeff99138995f51df61d86d2f41f5285b01a78a47
parent009040772ed47aa59d63d27e0ec377013cebf90a (diff)
typos
-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: