forked from tleyden/open-ocr
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Format code with gofmt and gofumpt This commit fixes the style issues introduced in a0ec5c1 according to the output from gofmt and gofumpt. Details: https://deepsource.io/gh/xf0e/open-ocr/transform/a4611f60-abb2-4cf6-9fc0-3a6b543b2555/ * [CGL] deprecated io/ioutil replaced by os. CheckOcrStatusByID refactored * [BUGFIX] refactored CheckOcrStatusByID * [CODING] corrected help annotation for prometheus in flight request metrics * [CODING] corrected help annotation for prometheus requests counter * [CGL] corrected wording in commentary about automatic removing requests from the queue * [CODING] replaced deprecated c.channel.Public with PublishWithContext * [CODING] removed unneeded check if map contains the request * [CODING] reduced complexity of CheckOcrStatusByID * Format code with gofmt and gofumpt * [CODING] corrected response message for non existing requests * [BUGFIX] fixed bug introduced in the prious release there the queue size could be negative rendered application fail to serve * Format code with gofmt and gofumpt * [CODING] show version in status page * [CODING] Control-coupled functions CheckForAcceptRequest resolved * [CODING] calls to os.Exit only in main() or init() functions * [CODING] comparing unsigned values against negative values is pointless * [CODING] func newOcrResult was unused * [CODING] this value of tempChannel is never used * Fix unused method receiver (#54) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> * Unused parameter should be replaced by underscore (#55) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> Co-authored-by: Artem Mil <[email protected]>
- Loading branch information
1 parent
d4a4f7d
commit 0773485
Showing
16 changed files
with
92 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.