From ee486781377a098c597fb59f87aa86568118f89e Mon Sep 17 00:00:00 2001 From: Gyanendra Mishra Date: Wed, 28 Feb 2024 14:33:51 +0000 Subject: [PATCH] some corrections --- .../service_value_repository.go | 2 +- .../service_value_repository_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/server/api_container/server/startosis_engine/interpretation_time_value_store/service_value_repository.go b/core/server/api_container/server/startosis_engine/interpretation_time_value_store/service_value_repository.go index 7106e086ad..13ab900907 100644 --- a/core/server/api_container/server/startosis_engine/interpretation_time_value_store/service_value_repository.go +++ b/core/server/api_container/server/startosis_engine/interpretation_time_value_store/service_value_repository.go @@ -28,7 +28,7 @@ func getOrCreateNewServiceInterpretationTimeValueRepository( if err != nil { return stacktrace.Propagate(err, "An error occurred while creating the bucket for the service interpretation time value repository") } - logrus.Debugf("Recipe result bucket: '%+v'", bucket) + logrus.Debugf("Service value interpretation time store bucket: '%+v'", bucket) return nil }); err != nil { diff --git a/core/server/api_container/server/startosis_engine/interpretation_time_value_store/service_value_repository_test.go b/core/server/api_container/server/startosis_engine/interpretation_time_value_store/service_value_repository_test.go index 86dfb5f908..eecfb45a61 100644 --- a/core/server/api_container/server/startosis_engine/interpretation_time_value_store/service_value_repository_test.go +++ b/core/server/api_container/server/startosis_engine/interpretation_time_value_store/service_value_repository_test.go @@ -23,7 +23,7 @@ const ( ) func TestAddAndGetTest(t *testing.T) { - repository := getRecipeResultRepositoryForTest(t) + repository := getServiceInterpretationTimeValueRepository(t) require.NotNil(t, repository) applicationProtocol := "" @@ -53,7 +53,7 @@ func TestAddAndGetTest(t *testing.T) { require.Equal(t, expectedService.String(), actualService.String()) } -func getRecipeResultRepositoryForTest(t *testing.T) *serviceInterpretationValueRepository { +func getServiceInterpretationTimeValueRepository(t *testing.T) *serviceInterpretationValueRepository { file, err := os.CreateTemp("/tmp", "*.db") defer func() { err = os.Remove(file.Name())