adding changes specific to dashboard instance

This commit is contained in:
tanvigour 2021-07-11 23:53:35 -04:00
parent 292226cacb
commit b6a9de2bba
2 changed files with 2 additions and 2 deletions

View File

@ -180,8 +180,8 @@ func List() ([]ListOutput, error) {
listRow.Command = utils.TruncateString(run.appCmd, 20)
}
// filter all dapr instances that do not start sidecar
if listRow.HTTPPort != 0 && listRow.GRPCPort != 0 {
// filter only dashboard instance
if listRow.AppID != "" {
list = append(list, listRow)
}
}