Skip to content

Commit

Permalink
continue when resource not found
Browse files Browse the repository at this point in the history
  • Loading branch information
David Wertenteil committed Nov 14, 2022
1 parent fde00f6 commit 9436ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/pkg/resourcesprioritization/prioritizationhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func (handler *ResourcesPrioritizationHandler) PrioritizeResources(sessionObj *c
resource, exist := sessionObj.AllResources[resourceId]
if !exist {
logger.L().Error("resource not found in resources map", helpers.String("resource ID", resourceId))
continue
}

workload := workloadinterface.NewWorkloadObj(resource.GetObject())
Expand Down

0 comments on commit 9436ace

Please sign in to comment.