-
Notifications
You must be signed in to change notification settings - Fork 817
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes race condition bug with Pod not being scheduled before Ready()
This fix does several things: 1. Breaks out ip and port setting of the `Status` into its own state, to make implementation and testing easier. 1. Listen for Pod updates, and if a Pod is a `GameServer` pod that has had its `NodeName` set, then queue the backing `GameServer` 1. Finally - if Ready() gets called before any of this, populate the `Status` ip and port values at this time as well. Fixes #354
- Loading branch information
1 parent
0ecca13
commit 7ba2552
Showing
3 changed files
with
291 additions
and
59 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
Oops, something went wrong.