You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2024/04/04 08:46:00 UTC

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

Wilfred Spiegelenburg created YUNIKORN-2538:
-----------------------------------------------

             Summary: 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


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