• Kubernetes Submit Queue's avatar
    Merge pull request #50665 from xiangpengzhao/hardcode-to-const · 178a5ff3
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 50257, 50247, 50665, 50554, 51077)
    
    Replace hard-code "cpu" and "memory" to consts
    
    **What this PR does / why we need it**:
    There are many places using hard coded "cpu" and "memory" as resource name. This PR replace them to consts.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    
    **Special notes for your reviewer**:
    /kind cleanup
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    178a5ff3
Name
Last commit
Last update
..
algorithm Loading commit data...
algorithmprovider Loading commit data...
api Loading commit data...
core Loading commit data...
factory Loading commit data...
metrics Loading commit data...
schedulercache Loading commit data...
testing Loading commit data...
util Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
scheduler.go Loading commit data...
scheduler_test.go Loading commit data...
testutil.go Loading commit data...