Skip to content

Commit

Permalink
fix log for kill gs
Browse files Browse the repository at this point in the history
Signed-off-by: ChrisLiu <[email protected]>
  • Loading branch information
chrisliu1995 committed Aug 8, 2023
1 parent 65b6520 commit 02b9a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/gameserverset/gameserverset_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (manager *GameServerSetManager) GetReplicasAfterKilling() *int32 {
}
}

klog.Infof("%d GameServers need to be killed", toKill)
klog.Infof("GameServerSet %s/%s will kill %d GameServers", gss.GetNamespace(), gss.GetName(), toKill)
return pointer.Int32(*gss.Spec.Replicas - int32(toKill))
}

Expand Down

0 comments on commit 02b9a94

Please sign in to comment.