Skip to content

Commit

Permalink
fix: remove var
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Dec 16, 2024
1 parent 6effa79 commit f89592e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/testworkflows/testworkflowprocessor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ func (p *processor) Bundle(ctx context.Context, workflow *testworkflowsv1.TestWo
return nil, errors.Wrap(err, "finalizing Pvc")
}
}
pvcNames := common.MapSlice(pvcs, func(p corev1.PersistentVolumeClaim) string { return p.Name })
options.Config.Execution.PvcNames = pvcNames
options.Config.Execution.PvcNames = common.MapSlice(pvcs, func(p corev1.PersistentVolumeClaim) string { return p.Name })

// Finalize Secrets
secrets := append(layer.Secrets(), options.Secrets...)
Expand Down

0 comments on commit f89592e

Please sign in to comment.