Skip to content

Commit b4ce4e8

Browse files
authored
fix: snapshot tool cache.Run call (#102)
1 parent ead9f27 commit b4ce4e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ KUSTOMIZE ?= $(LOCALBIN)/kustomize
1616

1717
# Space seperated list of services to build by default
1818
# SERVICE_NAMES := service1 service2 service3
19-
SERVICE_NAMES := podgrouper scheduler binder webhookmanager resourcereservation
19+
SERVICE_NAMES := podgrouper scheduler binder webhookmanager resourcereservation snapshot-tool
2020

2121

2222
lint: fmt-go vet-go lint-go

cmd/snapshot-tool/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ func main() {
7878

7979
schedulerCache := cache.New(schedulerCacheParams)
8080
stopCh := make(chan struct{})
81+
schedulerCache.Run(stopCh)
8182
schedulerCache.WaitForCacheSync(stopCh)
8283

8384
ssn, err := framework.OpenSession(

0 commit comments

Comments
 (0)