all: rename variables with lowercase-l/uppercase-I
See http://go/no-ell Signed-off-by: Alex Chan <alexc@tailscale.com> Updates #cleanup Change-Id: I8c976b51ce7a60f06315048b1920516129cc1d5d
This commit is contained in:
@@ -352,12 +352,12 @@ type ServiceMonitor struct {
|
||||
|
||||
type Labels map[string]LabelValue
|
||||
|
||||
func (l Labels) Parse() map[string]string {
|
||||
if l == nil {
|
||||
func (lb Labels) Parse() map[string]string {
|
||||
if lb == nil {
|
||||
return nil
|
||||
}
|
||||
m := make(map[string]string, len(l))
|
||||
for k, v := range l {
|
||||
m := make(map[string]string, len(lb))
|
||||
for k, v := range lb {
|
||||
m[k] = string(v)
|
||||
}
|
||||
return m
|
||||
|
||||
Reference in New Issue
Block a user