You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/04/13 06:24:00 UTC

[jira] [Resolved] (YUNIKORN-2538) Shim cache context pre-allocate slice

     [ 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-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org