Skip to content

Commit 931c983

Browse files
yehudit1987Copilot
authored andcommitted
Update e2e/profiles/aibrix/profile.go
Co-authored-by: Copilot <[email protected]> Signed-off-by: yehudit1987 <[email protected]>
1 parent 72b255c commit 931c983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/profiles/aibrix/profile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ func (p *Profile) kubectlDelete(ctx context.Context, kubeConfig, manifest string
458458
}
459459

460460
func (p *Profile) runKubectl(ctx context.Context, kubeConfig string, args ...string) error {
461-
args = append(args, "--kubeconfig", kubeConfig)
461+
args = append([]string{"--kubeconfig", kubeConfig}, args...)
462462
cmd := exec.CommandContext(ctx, "kubectl", args...)
463463
if p.verbose {
464464
cmd.Stdout = os.Stdout

0 commit comments

Comments
 (0)