-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor global variables into a global struct * Update tests * Use param instead of global variable * Update tests * Fix formatting * Add a hack to fix the tests * Ignore raft files * Fix tests * Remove global variables * Use a global app variable for test only and assign it only in tests * Add stopGracefully as a method to the GatewayDInstance struct * Move signal handler to the top to avoid half-states on exit * Add a new function for creating an instance of GatewayDInstance using parsed flags * Remove duplicate internal functions * Update tests * Use exported functions instead of internal variables * Remove global variables * Update tests * Fix linter error * Ignore dupl linter * Fix tests with the actual log output * Clean up after test * Remove global variables * Skip path slip verification * Fix tests * Remove backup * Another try to fix the test * Fix missing/unknown behavior * Add a pull-only test * Declare variable before assignment * Fix plugin install behavior * Fix plugin install with no overwrite * Revert changes * Rename variable * Use filepath to join paths * Remove unnecessary file * Ignore plugins file if exists * Remove duplicate code * Reset the pull-only flag * Check if the server is properly closed before erroring out * Refactor run command into a separate file * Fix bug in handling early exit * Move left-over functions * Add comments * Fix linter errors * Fix missing log message and span * Handle errors when stopping the listener for gRPC server * Graceful shutdown of gRPC server * Revert changes to path * Use local variable * Replace all context.TODO with context.Background * Split exit codes into a separate file * Remove unused constant and renumber others * Use exported function instead of internal variables * Ignore linter errors * Rename variable and comment to match the behavior
- Loading branch information
1 parent
486ac52
commit dcfc48b
Showing
28 changed files
with
1,602 additions
and
1,358 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ linters: | |
enable-all: true | ||
disable: | ||
- cyclop | ||
- dupl | ||
- wsl | ||
- godox | ||
- gochecknoglobals | ||
|
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.