Skip to content

Commit 34ba276

Browse files
committed
fixed lint
1 parent d09035b commit 34ba276

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

osscluster.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -951,10 +951,9 @@ func (c *clusterState) slotNodes(slot int) []*clusterNode {
951951
//------------------------------------------------------------------------------
952952

953953
type clusterStateHolder struct {
954-
load func(ctx context.Context) (*clusterState, error)
955-
commandsCacheRefresh func()
956-
state atomic.Value
957-
reloading uint32 // atomic
954+
load func(ctx context.Context) (*clusterState, error)
955+
state atomic.Value
956+
reloading uint32 // atomic
958957
}
959958

960959
func newClusterStateHolder(load func(ctx context.Context) (*clusterState, error)) *clusterStateHolder {

0 commit comments

Comments
 (0)