Skip to content

Commit

Permalink
Remove unused variable (#4552)
Browse files Browse the repository at this point in the history
Signed-off-by: MichaelMorris <michael.morris@est.tech>
  • Loading branch information
MichaelMorrisEst committed Apr 5, 2024
1 parent c1467b7 commit 43819fb
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,6 @@ func (c *chaosExperimentService) processChaosScheduleManifest(ctx context.Contex
func (c *chaosExperimentService) UpdateRuntimeCronWorkflowConfiguration(cronWorkflowManifest v1alpha1.CronWorkflow, experiment dbChaosExperiment.ChaosExperimentRequest) (v1alpha1.CronWorkflow, []string, error) {
var (
faults []string
probes []dbChaosExperimentRun.Probes
)
for i, template := range cronWorkflowManifest.Spec.WorkflowSpec.Templates {
artifact := template.Inputs.Artifacts
Expand Down Expand Up @@ -867,10 +866,6 @@ func (c *chaosExperimentService) UpdateRuntimeCronWorkflowConfiguration(cronWork
annotationArray = append(annotationArray, annotationKey.Name)
}
}
probes = append(probes, dbChaosExperimentRun.Probes{
FaultName: artifact[0].Name,
ProbeNames: annotationArray,
})

meta.Annotations = annotation

Expand Down

0 comments on commit 43819fb

Please sign in to comment.