mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-24 17:41:03 +01:00
refactor: improve logging messages and update configuration constants
- Updated logging messages in GrpcClient to provide clearer context, changing "ready" to "client is now ready" and "stopped" to "client has stopped". - Refactored test setup in runner_test.go to remove unnecessary error checks during gRPC client start for cleaner code. - Renamed GetDependencySetupScriptRoot to GetInstallRoot and updated related constants for better clarity and consistency in configuration management.
This commit is contained in:
@@ -36,7 +36,7 @@ func setupGrpc(t *testing.T) {
|
||||
require.Nil(t, err)
|
||||
|
||||
// Start a gRPC client
|
||||
err = client.GetGrpcClient().Start()
|
||||
client.GetGrpcClient().Start()
|
||||
require.Nil(t, err)
|
||||
|
||||
// Cleanup
|
||||
|
||||
Reference in New Issue
Block a user