Skip to content

Commit 50e06e8

Browse files
committed
Refactor controller queue logic
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
1 parent 5cd2dca commit 50e06e8

6 files changed

Lines changed: 564 additions & 5 deletions

File tree

cmd/stackset-controller/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func main() {
119119

120120
go handleSigterm(cancel)
121121
go serveMetrics(config.MetricsAddress)
122-
err = controller.Run(ctx)
122+
err = controller.Run2(ctx)
123123
if err != nil {
124124
cancel()
125125
log.Fatalf("Failed to run controller: %v", err)

controller/stack_resources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ func (c *StackSetController) ReconcileStackIngress(ctx context.Context, stack *z
223223
apiv1.EventTypeNormal,
224224
"DeletedIngress",
225225
"Deleted Ingress %s",
226-
existing.Namespace)
226+
existing.Name)
227227
}
228228
return nil
229229
}

0 commit comments

Comments
 (0)