Skip to content

Commit

Permalink
Adjust comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkercelikyilmaz committed Feb 7, 2019
1 parent fd0b5bf commit 57016ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/gameservers/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,7 @@ func (c *Controller) syncGameServerShutdownState(gs *v1alpha1.GameServer) error
}

c.logger.WithField("gs", gs).Info("Syncing Shutdown State")
// be explicit about where to delete. We only need to wait for the Pod to be removed, which we handle with our
// own finalizer.
// be explicit about where to delete.
p := metav1.DeletePropagationBackground
err := c.gameServerGetter.GameServers(gs.ObjectMeta.Namespace).Delete(gs.ObjectMeta.Name, &metav1.DeleteOptions{PropagationPolicy: &p})
if err != nil {
Expand Down

0 comments on commit 57016ce

Please sign in to comment.