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 2023/03/24 02:48:00 UTC

[jira] [Created] (YUNIKORN-1655) factor out the domain from annotations, use constant

Wilfred Spiegelenburg created YUNIKORN-1655:
-----------------------------------------------

             Summary: factor out the domain from annotations, use constant
                 Key: YUNIKORN-1655
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1655
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: shim - kubernetes
            Reporter: Wilfred Spiegelenburg


{{common/constants/constants.go}} contains al annotations and label definitions.

Each definition specifies its own domaini part instead of re-using a single defined constant for {{yunikorn.apache.org}} this could easily lead to typos etc in the definitions.

We should also use a fixed constant for the separator "/" used in all these annotations.



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