Skip to content

Commit

Permalink
e2e testing ftw
Browse files Browse the repository at this point in the history
  • Loading branch information
jr0d committed Apr 9, 2021
1 parent 3761dd8 commit 25d3c7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ func main() {
SessionName: config.ClaimsSessionName,
}
} else {
clusterStorage := cluster.NewClusterStore(
userInfoStore = cluster.NewClusterStore(
clientset,
config.ClusterStoreNamespace,
string(config.Secret),
config.Lifetime,
time.Duration(config.ClusterStoreCacheTTL)*time.Second,
authenticator)

gc := cluster.NewGC(clusterStorage, time.Minute, false, true)
gc := cluster.NewGC(userInfoStore.(*cluster.ClusterStorage), time.Minute, false, true)

if err := gc.Start(); err != nil {
log.Fatalf("error starting GC process: %v", err)
Expand Down

0 comments on commit 25d3c7e

Please sign in to comment.