Skip to content

Commit c588745

Browse files
committed
Cleanup
1 parent c502718 commit c588745

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

components/ws-manager-mk2/main.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ import (
4545
workspacev1 "github.com/gitpod-io/gitpod/ws-manager/api/crd/v1"
4646

4747
"github.com/gitpod-io/gitpod/ws-manager-mk2/controllers"
48-
"github.com/gitpod-io/gitpod/ws-manager-mk2/pkg/activity"
4948
"github.com/gitpod-io/gitpod/ws-manager-mk2/pkg/maintenance"
5049
imgproxy "github.com/gitpod-io/gitpod/ws-manager-mk2/pkg/proxy"
5150
"github.com/gitpod-io/gitpod/ws-manager-mk2/service"
@@ -152,8 +151,6 @@ func main() {
152151
os.Exit(1)
153152
}
154153

155-
activity := activity.NewWorkspaceActivity(cfg.Manager.Namespace, mgr.GetClient())
156-
157154
go func() {
158155
for {
159156
select {
@@ -162,7 +159,6 @@ func main() {
162159
case <-mgr.Elected():
163160
now := time.Now()
164161
setupLog.Info("updating activity started time", "now", now)
165-
activity.ManagerStartedAt = now
166162
return
167163
}
168164
}

0 commit comments

Comments
 (0)