mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #80235 from moshe010/remove_string
Remove unnecessary string() from policy_none
This commit is contained in:
commit
1125054612
@ -33,7 +33,7 @@ func NewNonePolicy() Policy {
|
||||
}
|
||||
|
||||
func (p *nonePolicy) Name() string {
|
||||
return string(PolicyNone)
|
||||
return PolicyNone
|
||||
}
|
||||
|
||||
func (p *nonePolicy) CanAdmitPodResult(admit bool) lifecycle.PodAdmitResult {
|
||||
|
Loading…
Reference in New Issue
Block a user