Skip to content

Commit 8df3681

Browse files
committed
fix: collect all matching pods
Signed-off-by: imneov <[email protected]>
1 parent f75e0cf commit 8df3681

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/kubernetes/invoke.go

-2
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,12 @@ func ListAppInfos(client k8s.Interface, appIDs ...string) (DaprAppList, error) {
111111
l := make(DaprAppList, 0)
112112
for _, p := range podList.Items {
113113
p := DaprPod(p)
114-
FindLoop:
115114
for _, c := range p.Spec.Containers {
116115
if c.Name == "daprd" {
117116
app := getAppInfoFromPod(&p)
118117
if fn(app) {
119118
l = append(l, app)
120119
}
121-
break FindLoop
122120
}
123121
}
124122
}

0 commit comments

Comments
 (0)