[
https://issues.apache.org/jira/browse/YUNIKORN-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wilfred Spiegelenburg updated YUNIKORN-1314:
--------------------------------------------
Description:
The logging in {{GetUserFromPod()}} in the shim utilities is not correct: if
the label is not found it logs the default user label name, not the configured
one.
The code is also too complex. The labels are stored in a map and can be
accessed without iteration. If no value is set in the label or the label is not
found the default user should be returned.
was:
The logging in {{GetUserFromPod()}} in the shim utilities is not correct.
The code is also too complex. The labels are stored in a map.
> The current UserkeyLabel is showed in log when user name couldn't be found in
> pod's labels.
> --------------------------------------------------------------------------------------------
>
> Key: YUNIKORN-1314
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1314
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: shim - kubernetes
> Reporter: Chen Yu Teng
> Assignee: Chen Yu Teng
> Priority: Minor
>
> The logging in {{GetUserFromPod()}} in the shim utilities is not correct: if
> the label is not found it logs the default user label name, not the
> configured one.
> The code is also too complex. The labels are stored in a map and can be
> accessed without iteration. If no value is set in the label or the label is
> not found the default user should be returned.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]