Skip to content

Commit caf96db

Browse files
Lorenzo CurcioLorenzo Curcio
Lorenzo Curcio
authored and
Lorenzo Curcio
committed
Merge branch 'mock-actors-3' of github.com:lor1113/python-sdk into mock-actors-3
Signed-off-by: Lorenzo Curcio <[email protected]>
2 parents e5c0894 + dd7fc1d commit caf96db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dapr/actor/runtime/mock_state_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def try_add_state(self, state_name: str, value: T) -> bool:
5151
return True
5252
return False
5353
existed = state_name in self._mock_state
54-
if not existed:
54+
if existed:
5555
return False
5656
self._default_state_change_tracker[state_name] = StateMetadata(value, StateChangeKind.add)
5757
self._mock_state[state_name] = value

0 commit comments

Comments
 (0)