Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(GameServer): 添加 OpsState 最后变更时间注解 #200

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

Macroldj
Copy link
Contributor

@Macroldj Macroldj commented Feb 6, 2025

  • 在 GameServer 注解中添加 GameServerOpsStateLastChangedTime 字段
  • 当 GameServer 的 OpsState 发生变化时,更新该字段为当前时间

#199 @chrisliu1995

@Macroldj Macroldj marked this pull request as draft February 6, 2025 11:50
@Macroldj Macroldj marked this pull request as ready for review February 6, 2025 11:50
GameServerNetworkDisabled = "game.kruise.io/network-disabled"
GameServerNetworkStatus = "game.kruise.io/network-status"
GameServerNetworkTriggerTime = "game.kruise.io/network-trigger-time"
GameServerOpsStateLastChangedTime = "game.kruise.io/ops-state-last-changed-time"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer ‘game.kruise.io/opsState-last-changed-time’

- add annotation `game.kruise.io/opsState-last-changed-time`

openkruise#199
@chrisliu1995
Copy link
Member

/lgtm

@chrisliu1995 chrisliu1995 merged commit 2ea11c1 into openkruise:master Feb 8, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants