• Kubernetes Submit Queue's avatar
    Merge pull request #58437 from tossmilestone/scheduler-golint · c179b8a0
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Enable golinting for scheduler packages.
    
    **What this PR does / why we need it**:
    Enable golinting for scheduler packages
    
    **Which issue(s) this PR fixes**:
    Fixes #58234 
    
    **Special notes for your reviewer**:
    - `pkg/scheduler/api` and `pkg/scheduler/api/v1` are not removed from `hack/.golint_failures`, because there are auto-generated go files by `deepcopy-gen` in the package, which have golint errors and are not suggested manually edited.
    - Please help to refine the comments if there are error or inaccurate descriptions. Thanks! 
    
    **Release note**:
    
    ```release-note
    Enable golint for `pkg/scheduler` and fix the golint errors in it.
    ```
    c179b8a0
Name
Last commit
Last update
..
apiserver Loading commit data...
auth Loading commit data...
client Loading commit data...
configmap Loading commit data...
daemonset Loading commit data...
defaulttolerationseconds Loading commit data...
deployment Loading commit data...
etcd Loading commit data...
evictions Loading commit data...
examples Loading commit data...
framework Loading commit data...
garbagecollector Loading commit data...
master Loading commit data...
metrics Loading commit data...
objectmeta Loading commit data...
openshift Loading commit data...
pods Loading commit data...
quota Loading commit data...
replicaset Loading commit data...
replicationcontroller Loading commit data...
scale Loading commit data...
scheduler Loading commit data...
scheduler_perf Loading commit data...
secrets Loading commit data...
serviceaccount Loading commit data...
storageclasses Loading commit data...
tls Loading commit data...
ttlcontroller Loading commit data...
volume Loading commit data...
BUILD Loading commit data...
benchmark-controller.json Loading commit data...
doc.go Loading commit data...
utils.go Loading commit data...