forked from googleforgames/agones
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't move Dev GameServer back to Ready always (googleforgames#2545)
* Don't move Dev GameServer back to Ready always There was a bug in the implementation of the [local development GameServer](https://agones.dev/site/docs/guides/local-game-server/) that would always move a `GameServer` to `Ready` any time the state was not currently `Ready`. This meant if you tried to Allocate the `GameServer`, the controller would immediately move it back to being `Ready`. This fix locks down that the only path that the controller should affect is moving from `Creating` state to `Ready`. This allows the end user to manually manage state on the `GameServer` as they desire. Closes googleforgames#2536 * Review updates.
- Loading branch information
1 parent
a764bc9
commit 8ffb513
Showing
3 changed files
with
73 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters