File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1621,7 +1621,7 @@ func TestReconcileForCreationAndRunning(t *testing.T) {
16211621
16221622func CreateFakeClient (t * testing.T ) * ChaosEngineReconciler {
16231623
1624- fakeClient := litmusFakeClientset .NewFakeClient ()
1624+ fakeClient := litmusFakeClientset .NewClientBuilder (). WithRuntimeObjects (). Build ()
16251625 if fakeClient == nil {
16261626 fmt .Println ("litmusClient is not created" )
16271627 }
Original file line number Diff line number Diff line change @@ -6,11 +6,6 @@ import (
66 corev1 "k8s.io/api/core/v1"
77)
88
9- var (
10- // hostpathTypeFile represents the hostpath type
11- hostpathTypeFile = corev1 .HostPathFile
12- )
13-
149// CreateVolumeBuilders build Volume needed in execution of experiments
1510func CreateVolumeBuilders (configMaps []v1alpha1.ConfigMap , secrets []v1alpha1.Secret ) []* volume.Builder {
1611 volumeBuilderList := []* volume.Builder {}
You can’t perform that action at this time.
0 commit comments