Commit 1d424cc5 authored by jorenhehe's avatar jorenhehe

fix typos

parent 35c2e70d
...@@ -66,12 +66,12 @@ func (ls Set) AsSelector() Selector { ...@@ -66,12 +66,12 @@ func (ls Set) AsSelector() Selector {
// assumes that labels are already validated and thus don't // assumes that labels are already validated and thus don't
// preform any validation. // preform any validation.
// According to our measurements this is significantly faster // 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 { func (ls Set) AsSelectorPreValidated() Selector {
return SelectorFromValidatedSet(ls) return SelectorFromValidatedSet(ls)
} }
// FormatLables convert label map into plain string // FormatLabels convert label map into plain string
func FormatLabels(labelMap map[string]string) string { func FormatLabels(labelMap map[string]string) string {
l := Set(labelMap).String() l := Set(labelMap).String()
if l == "" { if l == "" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment