diff --git a/seaweed-block/cmd/blockvolume/process_exit_authority_test.go b/seaweed-block/cmd/blockvolume/process_exit_authority_test.go index 4a54e50c14..b8b42a36b6 100644 --- a/seaweed-block/cmd/blockvolume/process_exit_authority_test.go +++ b/seaweed-block/cmd/blockvolume/process_exit_authority_test.go @@ -35,7 +35,7 @@ type exitAssignmentStream struct { // recorded) with it; later ones get ackError. ackFirstError error acks atomic.Int32 - facts chan *control.AssignmentFact + facts chan *control.AssignmentFact } func (s *exitAssignmentStream) RenewWorkspaceLease(_ context.Context, id *control.WorkspaceIdentity) (*control.WorkspaceLeaseFact, error) { diff --git a/seaweed-block/core/frontend/chunkstore/head_readers_test.go b/seaweed-block/core/frontend/chunkstore/head_readers_test.go index 7c8fe598c8..a3529040d2 100644 --- a/seaweed-block/core/frontend/chunkstore/head_readers_test.go +++ b/seaweed-block/core/frontend/chunkstore/head_readers_test.go @@ -355,7 +355,9 @@ type existsButAbsent struct{} func (existsButAbsent) ReadHead(context.Context) (layout.Head, bool, error) { return layout.Head{}, false, nil } -func (existsButAbsent) CreateHead(context.Context, layout.Head, layout.HeadWriteCause) error { return layout.ErrExists } +func (existsButAbsent) CreateHead(context.Context, layout.Head, layout.HeadWriteCause) error { + return layout.ErrExists +} func (existsButAbsent) CreateVolumeRecord(context.Context, layout.Volume) error { return nil } func (existsButAbsent) ReadVolumeRecord(context.Context) (layout.Volume, bool, error) { return layout.Volume{}, false, nil