Merge pull request #80235 from moshe010/remove_string

Remove unnecessary string() from policy_none
This commit is contained in:
Kubernetes Prow Robot 2019-07-17 19:34:49 -07:00 committed by GitHub
commit 1125054612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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