[ 
https://issues.apache.org/jira/browse/YUNIKORN-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18101660#comment-18101660
 ] 

Wilfred Spiegelenburg commented on YUNIKORN-3345:
-------------------------------------------------

Changes are simple, tagging as a newbie Jira

> Turn on nonamedreturns linter
> -----------------------------
>
>                 Key: YUNIKORN-3345
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-3345
>             Project: Apache YuniKorn
>          Issue Type: Task
>          Components: core - common, shim - kubernetes
>            Reporter: Wilfred Spiegelenburg
>            Priority: Critical
>              Labels: newbie
>
> Named returns can introduce difficult to track down bugs and flaky behaviour.
> Turning on {{nonamedreturns}} as a linter will prevent adding them unless 
> required for real specific cases.
> The change will require changing the functions that use named returns. A 
> quick check shows 30+ cases mostly in the test code in the k8shim.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to