Skip to content

Commit 5b01de5

Browse files
fixed lint
1 parent bd526a8 commit 5b01de5

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
@@ -859,10 +859,9 @@ func (c *clusterState) slotNodes(slot int) []*clusterNode {
859859
//------------------------------------------------------------------------------
860860

861861
type clusterStateHolder struct {
862-
load func(ctx context.Context) (*clusterState, error)
863-
commandsCacheRefresh func()
864-
state atomic.Value
865-
reloading uint32 // atomic
862+
load func(ctx context.Context) (*clusterState, error)
863+
state atomic.Value
864+
reloading uint32 // atomic
866865
}
867866

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

0 commit comments

Comments
 (0)