[
https://issues.apache.org/jira/browse/YUNIKORN-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
TingYao Huang reassigned YUNIKORN-3345:
---------------------------------------
Assignee: weichen lai
> 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
> Assignee: weichen lai
> 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]