Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed log message for delete #328

Merged
merged 1 commit into from
Sep 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/cript/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ def delete(self, node) -> None:
After the node has been successfully deleted, a log is written to the terminal if `cript.API.verbose = True`

```bash
INFO: Deleted `Data` with UUID of `80bfc642-157e-4692-a547-97c470725397` from CRIPT API.
INFO: Deleted 'Data' with UUID of '80bfc642-157e-4692-a547-97c470725397' from CRIPT API.
```

Warnings
Expand Down Expand Up @@ -1107,4 +1107,4 @@ def delete(self, node) -> None:
if response["code"] != 200:
raise APIError(api_error=str(response), http_method="DELETE", api_url=delete_node_api_url)

self.logger.info(f"Deleted `{node.node_type}` with UUID of `{node.uuid}` from CRIPT API.")
self.logger.info(f"Deleted '{node.node_type}' with UUID of '{node.uuid}' from CRIPT API.")