Clean up for some typo.

1) Removed a space in portforward.go.
2) Renamed `lockAquisitionFunc` to `lockAcquisitionFunc` in
controller.go.
3) Fixed typo in predicates.go.
This commit is contained in:
Guangya Liu
2017-02-07 22:52:35 +08:00
parent 3f6dd889f3
commit 9607edc556
3 changed files with 9 additions and 9 deletions

View File

@@ -692,7 +692,7 @@ type ServiceAffinity struct {
// only should be referenced by NewServiceAffinityPredicate.
func (s *ServiceAffinity) serviceAffinityPrecomputation(pm *predicateMetadata) {
if pm.pod == nil {
glog.Errorf("Cannot precompute service affinity, a pod is required to caluculate service affinity.")
glog.Errorf("Cannot precompute service affinity, a pod is required to calculate service affinity.")
return
}