Skip to content
Open
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
2 changes: 1 addition & 1 deletion pkg/cmd/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var proxyCmd = &cobra.Command{
RunE: func(cmd *cobra.Command, args []string) error {

pterm.Info.Println("Checking teleport application")
err := exec.ExecuteShellCommand("tsh apps ls app_name="+args[0]+" | grep ridectl || exit 1", false)
err := exec.ExecuteShellCommand("tsh apps ls app_name="+args[0]+" --format=json | grep ridectl || exit 1", false)
if err != nil {
return fmt.Errorf("the teleport application with ridectl label does not exists or you do not have access to it, %s", err)
}
Expand Down