Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
matoval committed Sep 18, 2024
1 parent 543f524 commit b2ed17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controlsvc/controlsvc.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func (s *SockControl) ReadFromConn(message string, out io.Writer, io Copier) err
MainInstance.nc.GetLogger().Error("Error reading from %v: %v \n", connectType, err)
}
break

Check failure on line 143 in pkg/controlsvc/controlsvc.go

View workflow job for this annotation

GitHub Actions / lint-receptor

break with no blank line before (nlreturn)

}

Check failure on line 145 in pkg/controlsvc/controlsvc.go

View workflow job for this annotation

GitHub Actions / lint-receptor

unnecessary trailing newline (whitespace)
data += response
MainInstance.nc.GetLogger().Debug("Response from %v: %v", connectType, response)
Expand Down
1 change: 1 addition & 0 deletions pkg/workceptor/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ func commandRunner(command string, params string, unitdir string) error {
MainInstance.nc.GetLogger().Error("Error reading work unit %v stdin: %v\n", workUnitID, err)
}
break

Check failure on line 133 in pkg/workceptor/command.go

View workflow job for this annotation

GitHub Actions / lint-receptor

break with no blank line before (nlreturn)

}

Check failure on line 135 in pkg/workceptor/command.go

View workflow job for this annotation

GitHub Actions / lint-receptor

unnecessary trailing newline (whitespace)
data += response
MainInstance.nc.GetLogger().Debug("Work unit %v stdin: %v", workUnitID, response)
Expand Down

0 comments on commit b2ed17d

Please sign in to comment.