Skip to content

Commit

Permalink
Intialise ProbeContext
Browse files Browse the repository at this point in the history
Signed-off-by: nagesh bansal <[email protected]>
  • Loading branch information
Nageshbansal committed Nov 27, 2023
1 parent 2bce589 commit 2e7698c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ func InitialiseChaosVariables(chaosDetails *ChaosDetails) {
chaosDetails.ParentsResources = []ParentResource{}
chaosDetails.Targets = []v1alpha1.TargetDetails{}
chaosDetails.Phase = PreChaosPhase
chaosDetails.ProbeContext.Ctx, chaosDetails.ProbeContext.CancelFunc = context.WithCancel(context.Background())
}

// SetResultAttributes initialise all the chaos result ENV
Expand Down

0 comments on commit 2e7698c

Please sign in to comment.