Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Ontiveros committed Jul 25, 2023
1 parent 5862e2e commit 703c212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/frontend/middleware/maintenance.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (mm MaintenanceMiddleware) EmitUnplannedMaintenanceSignal(h http.Handler) h
go func(ctx context.Contetxt, resourceID string) {

Check failure on line 15 in pkg/frontend/middleware/maintenance.go

View workflow job for this annotation

GitHub Actions / golangci-lint

undeclared name: `context` (typecheck)
for {
mm.EmitGauge("frontend.maintenance.unplanned", 1, map[string]string{

Check failure on line 17 in pkg/frontend/middleware/maintenance.go

View workflow job for this annotation

GitHub Actions / golangci-lint

mm.EmitGauge undefined (type MaintenanceMiddleware has no field or method EmitGauge) (typecheck)
"resource_id": resourceID,
"resourceID": resourceID,
})
select {
case <-ctx.Done():
Expand Down

0 comments on commit 703c212

Please sign in to comment.