## Description Pagination fix for nill pointer ## Type of change - [x] 🐛 Bugfix## Issue(s) <!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. --> * closes #801 ## Test Plan - [x] ⚡ Unit test
This commit is contained in:
parent
c02817ac86
commit
ca6331b66e
@ -435,11 +435,13 @@ func iterateFindContainerID(
|
||||
return func(entry any) bool {
|
||||
if isCalendar {
|
||||
entry = CreateCalendarDisplayable(entry)
|
||||
}
|
||||
|
||||
// True when pagination needs more time to get additional responses or
|
||||
// when entry is not able to be converted into a displayable
|
||||
if entry == nil {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
folder, ok := entry.(displayable)
|
||||
if !ok {
|
||||
@ -451,6 +453,7 @@ func iterateFindContainerID(
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
// Display name not set on folder
|
||||
if folder.GetDisplayName() == nil {
|
||||
return true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user