You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/08/15 23:59:00 UTC
[jira] [Updated] (YUNIKORN-3345) Turn on nonamedreturns linter
[ https://issues.apache.org/jira/browse/YUNIKORN-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated YUNIKORN-3345:
-------------------------------------
Labels: newbie pull-request-available (was: newbie)
> 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, pull-request-available
>
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org