Merge pull request #43199 from jorenhehe/labels-typos

Automatic merge from submit-queue

fix typos

**Release note**:

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue 2017-04-13 18:13:39 -07:00 committed by GitHub
commit b7ed2d1149

View File

@ -66,12 +66,12 @@ func (ls Set) AsSelector() Selector {
// assumes that labels are already validated and thus don't
// preform any validation.
// According to our measurements this is significantly faster
// in codepaths that matter at high sccale.
// in codepaths that matter at high scale.
func (ls Set) AsSelectorPreValidated() Selector {
return SelectorFromValidatedSet(ls)
}
// FormatLables convert label map into plain string
// FormatLabels convert label map into plain string
func FormatLabels(labelMap map[string]string) string {
l := Set(labelMap).String()
if l == "" {