From 855ea413d2cd50e693c549106c4ec8e12f71b6a0 Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Sat, 24 Feb 2018 12:49:53 -0800 Subject: [PATCH] Centralise Controller Queue and Worker processing There were multiple places where queue and worker goroutines pattern for controllers (and related) were repeated in almost exactly the same ways. Since there are more controllers coming, it made sense to consolidate this logic into a centralised place that could be reused to make authoring them easier. This may also allow us to centralise some health checking in #98 --- pkg/gameservers/sdkserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/gameservers/sdkserver.go b/pkg/gameservers/sdkserver.go index b8e2614ec8..66b877ace1 100644 --- a/pkg/gameservers/sdkserver.go +++ b/pkg/gameservers/sdkserver.go @@ -20,6 +20,7 @@ import ( "strings" "sync" "time" + "strings" "agones.dev/agones/pkg/apis/stable" stablev1alpha1 "agones.dev/agones/pkg/apis/stable/v1alpha1"