Skip to content

Commit

Permalink
fix: add the --service flag in the kardinal flow telepresence interce…
Browse files Browse the repository at this point in the history
…pt command (#259)
  • Loading branch information
leoporoli authored Sep 28, 2024
1 parent 505e885 commit 5d22282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kardinal-cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ var telepresenceInterceptCmd = &cobra.Command{
}
logrus.Infof("Telepresence has been successfully connected to namespace '%s'...", namespaceName)

logrus.Infof("Executing Telepresence intercept to flow id '%s'...", namespaceName)
logrus.Infof("Executing Telepresence intercept to flow id '%s'...", flowId)

telepresenceInterceptCmdArgs := []string{"intercept", interceptBaseName, "--port", fmt.Sprintf("%s:http", localPort)}
telepresenceInterceptCmdArgs := []string{"intercept", "--port", fmt.Sprintf("%s:http", localPort), "--service", interceptBaseName, interceptBaseName}
telepresenceInterceptCmd := exec.Command(telepresenceCmdName, telepresenceInterceptCmdArgs...)
telepresenceInterceptOutput, err := telepresenceInterceptCmd.CombinedOutput()
logrus.Infof("Telepresence intercept command output: %s", string(telepresenceInterceptOutput))
Expand Down

0 comments on commit 5d22282

Please sign in to comment.