We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b14f410 + 3b3eb5b commit 49e40ebCopy full SHA for 49e40eb
test/e2e/common.go
@@ -328,8 +328,10 @@ func (input *BuildAndApplyKustomizationInput) validate() error {
328
// BuildAndApplyKustomization takes input from BuildAndApplyKustomizationInput. It builds the provided kustomization
329
// and apply it to the cluster provided by clusterProxy.
330
func BuildAndApplyKustomization(ctx context.Context, input *BuildAndApplyKustomizationInput) error {
331
- Expect(input.validate()).To(Succeed())
332
var err error
+ if err = input.validate(); err != nil {
333
+ return err
334
+ }
335
kustomization := input.Kustomization
336
clusterProxy := input.ClusterProxy
337
manifest, err := BuildKustomizeManifest(kustomization)
0 commit comments