Skip to content

Commit

Permalink
Merge pull request #328 from C-Accel-CRIPT/update-logger-text-style
Browse files Browse the repository at this point in the history
changed log message for delete
  • Loading branch information
nh916 authored Sep 7, 2023
2 parents f61c9eb + 4d539e6 commit b21158d
Showing 1 changed file with 2 additions and 2 deletions.
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.")

0 comments on commit b21158d

Please sign in to comment.