[ https://issues.apache.org/jira/browse/YUNIKORN-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved YUNIKORN-2538. -------------------------------------- Fix Version/s: 1.6.0 Resolution: Fixed > Shim cache context pre-allocate slice > ------------------------------------- > > Key: YUNIKORN-2538 > URL: https://issues.apache.org/jira/browse/YUNIKORN-2538 > Project: Apache YuniKorn > Issue Type: Improvement > Components: shim - kubernetes > Reporter: Wilfred Spiegelenburg > Assignee: Yun Sun > Priority: Trivial > Labels: newbie, pull-request-available > Fix For: 1.6.0 > > > When building the reason string from all volume failure reasons we should > allocate a slice once based on the size of the reasons object we get returned. > See [review > comment|https://github.com/apache/yunikorn-k8shim/pull/810#discussion_r1550882867] -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org For additional commands, e-mail: dev-h...@yunikorn.apache.org