mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
style: gofmt the two test fakes the cause argument lengthened
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4c34e33e88
commit
deb06b7ca0
2 files changed
+4
-2
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user