Skip to content

Commit e6367af

Browse files
committed
Fix typos in logging messages and comments
- Corrected the spelling of "Recieved" to "Received" in logging statements within the prune_signal and re_queue_after_signal functions for improved clarity. - Fixed a typo in the comment header from "singnals" to "signals" in the routes.py file, enhancing code readability.
1 parent c9d18d7 commit e6367af

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

state-manager/app/controller/prune_signal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
async def prune_signal(namespace_name: str, state_id: PydanticObjectId, body: PruneRequestModel, x_exosphere_request_id: str) -> SignalResponseModel:
1212

1313
try:
14-
logger.info(f"Recieved prune signal for state {state_id} for namespace {namespace_name}", x_exosphere_request_id=x_exosphere_request_id)
14+
logger.info(f"Received prune signal for state {state_id} for namespace {namespace_name}", x_exosphere_request_id=x_exosphere_request_id)
1515

1616
state = await State.find_one(State.id == state_id)
1717

state-manager/app/controller/re_queue_after_singal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
async def re_queue_after_signal(namespace_name: str, state_id: PydanticObjectId, body: ReEnqueueAfterRequestModel, x_exosphere_request_id: str) -> SignalResponseModel:
1212

1313
try:
14-
logger.info(f"Recieved re-queue after signal for state {state_id} for namespace {namespace_name}", x_exosphere_request_id=x_exosphere_request_id)
14+
logger.info(f"Received re-queue after signal for state {state_id} for namespace {namespace_name}", x_exosphere_request_id=x_exosphere_request_id)
1515

1616
state = await State.find_one(State.id == state_id)
1717

state-manager/app/routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
from .models.graph_structure_models import GraphStructureResponse
4141
from .controller.get_graph_structure import get_graph_structure
4242

43-
### singnals
43+
### signals
4444
from .models.signal_models import SignalResponseModel
4545
from .models.signal_models import PruneRequestModel
4646
from .controller.prune_signal import prune_signal

0 commit comments

Comments
 (0)