Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

fix: add the --service flag in the kardinal flow telepresence intercept command #259

Merged
merged 6 commits into from
Sep 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading