chore: use gofumpt for code formatting

This commit is contained in:
Quentin McGaw
2024-10-11 19:20:48 +00:00
parent 3daf15a612
commit 76a4bb5dc3
289 changed files with 784 additions and 548 deletions

View File

@@ -16,7 +16,8 @@ var ErrInvalidStatus = errors.New("invalid status")
// matches the requested one. It is thread safe and a synchronous call
// since it waits to the loop to fully change its status.
func (s *State) ApplyStatus(ctx context.Context, status models.LoopStatus) (
outcome string, err error) {
outcome string, err error,
) {
// prevent simultaneous loop changes by restricting
// multiple ApplyStatus calls to run sequentially.
s.loopMu.Lock()