Skip to content

Commit 355370f

Browse files
authored
This PR is to add comments to newEFCEngineREP in fluid/pkg/ddc/efc/replicas_test.go (#5735)
* Add Notation to newEFCEngineREP in fluid/pkg/ddc/efc/replicas_test.go Signed-off-by: Q7856 <tw.qe2022@gmail.com> * fix: update comment to follow idiomatic Go style Signed-off-by: Q7856 <tw.qe2022@gmail.com> --------- Signed-off-by: Q7856 <tw.qe2022@gmail.com>
1 parent f79e25f commit 355370f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkg/ddc/efc/replicas_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ import (
3636
cruntime "github.com/fluid-cloudnative/fluid/pkg/runtime"
3737
)
3838

39+
// newEFCEngineREP creates and initializes an EFCEngine instance for testing
40+
// using the given Kubernetes client, name, and namespace. It builds runtime
41+
// information, sets up a fake logger, and configures helper utilities for the engine.
3942
func newEFCEngineREP(client client.Client, name string, namespace string) *EFCEngine {
4043
runTimeInfo, _ := base.BuildRuntimeInfo(name, namespace, common.EFCRuntime)
4144
engine := &EFCEngine{

0 commit comments

Comments
 (0)