Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 7596fe0

Browse files
authored
Merge pull request #1072 from grafana/remove_unused_variable
remove unused variable
2 parents 1bda4ea + 0e2bd7e commit 7596fe0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

idx/cassandra/cassandra.go

-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ type CasIdx struct {
114114
cluster *gocql.ClusterConfig
115115
session *gocql.Session
116116
writeQueue chan writeReq
117-
shutdown chan struct{}
118117
wg sync.WaitGroup
119118
}
120119

@@ -147,7 +146,6 @@ func New() *CasIdx {
147146
idx := &CasIdx{
148147
MemoryIdx: *memory.New(),
149148
cluster: cluster,
150-
shutdown: make(chan struct{}),
151149
}
152150
if updateCassIdx {
153151
idx.writeQueue = make(chan writeReq, writeQueueSize)

0 commit comments

Comments
 (0)