Skip to content

Commit

Permalink
fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhirverma committed Sep 30, 2021
1 parent 6ad05f4 commit 32aa270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,9 @@ export class Command {

static loginToContainer(container: string, podName: string, namespace: string): CliCommand {
if (ocFallBack.get('ocFallBack')) {
return newOcCommand('exec', '-it', '-n', namespace, '-c', container, podName, 'bash');
return newOcCommand('exec', '-it', '-n', namespace, '-c', container, podName, '--', 'bash');
} else {
return newK8sCommand('exec', '-it', '-n', namespace, '-c', container, podName, 'bash');
return newK8sCommand('exec', '-it', '-n', namespace, '-c', container, podName, '--', 'bash');
}
}

Expand Down

0 comments on commit 32aa270

Please sign in to comment.