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:
Marvin Zhang
2024-12-23 18:19:08 +08:00
parent c3f4c4ae05
commit 99ed4396d1
3 changed files with 27 additions and 27 deletions

View File

@@ -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