Skip to content

Commit

Permalink
Use correct function names now that they've been renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
dipinhora committed Nov 28, 2024
1 parent 94bb34a commit a21209d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/actor_pinning/actor_pinning.pony
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ actor Main
new create(env: Env) =>
_env = env
_auth = PinUnpinActorAuth(env.root)
ActorPinning.pin(_auth)
ActorPinning.request_pin(_auth)
check_pinned()
be check_pinned() =>
Expand All @@ -51,7 +51,7 @@ actor Main
end
be done() =>
ActorPinning.unpin(_auth)
ActorPinning.request_unpin(_auth)
```
## Caveat
Expand Down
2 changes: 1 addition & 1 deletion test/full-program-tests/pinned-actor/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ actor Main
new create(env: Env) =>
_env = env
_auth = PinUnpinActorAuth(env.root)
ActorPinning.pin(_auth)
ActorPinning.request_pin(_auth)
let interval: U64 = (10 * 1_000_000_000) / 10
let timers = Timers
let timer = Timer(Tick(this, 1), interval, interval)
Expand Down

0 comments on commit a21209d

Please sign in to comment.