Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfregly committed Apr 1, 2024
1 parent acc2264 commit 495d875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ type Controller struct {
allowOrigins []string
}

func NewController(config *GameServerConfig, clientset *kubernetes.Clientset, storage st.GameStore, allowedOrigins []string) *Controller {
func NewController(config *GameServerConfig, clientset *kubernetes.Clientset, storage st.GameStore, allowOrigins []string) *Controller {
c := &Controller{
clientset: clientset,
storage: storage,
config: config,
mux: chi.NewRouter(),
allowOrigins: allowedOrigins,
allowOrigins: allowOrigins,
}
c.mux.Post("/create", c.createHandler)
c.mux.Delete("/delete", c.deleteHandler)
Expand Down

0 comments on commit 495d875

Please sign in to comment.