Fix using possibly unavailable value
This commit is contained in:
parent
385628382c
commit
a1f41bd202
@ -373,7 +373,7 @@ func (h *ClusterHandler) NodeListProcesses(c echo.Context) error {
|
||||
processes := []api.Process{}
|
||||
|
||||
for _, p := range procs {
|
||||
if !h.iam.Enforce(ctxuser, domain, "process", p.Config.ID, "read") {
|
||||
if !h.iam.Enforce(ctxuser, domain, "process", p.ID, "read") {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user