Skip to content

Commit

Permalink
Integ test refacto path join
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
  • Loading branch information
pierre-emmanuelJ committed Jul 19, 2024
1 parent b700c10 commit b7c6174
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/integ/cluster/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fmt"
"io"
"log/slog"
"path/filepath"
"strings"
"time"

Expand Down Expand Up @@ -199,7 +200,7 @@ func (c *Cluster) applyCSI(ctx context.Context) error {
}

for _, manifestPath := range allManifests {
err := c.K8s.ApplyManifest(ctx, manifestDir+manifestPath)
err := c.K8s.ApplyManifest(ctx, filepath.Join(manifestDir, manifestPath))
if err != nil {
return fmt.Errorf("error applying CSI manifest: %q %w", manifestPath, err)
}
Expand Down

0 comments on commit b7c6174

Please sign in to comment.