Skip to content

Commit 1c930b0

Browse files
committed
rename
1 parent e3a3e3b commit 1c930b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/ingressCache/safeTrie.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ func (st *SafeTrie) GetFunctionName(path string) ([]string, error) {
127127
return nil, errors.Errorf("no value found for path: %s", path)
128128
}
129129

130-
output, ok := walkPathResult.([]string)
130+
functionNames, ok := walkPathResult.([]string)
131131
if !ok {
132132
return nil, errors.Errorf("value is not a []string, value: %v", walkPathResult)
133133
}
134134

135-
return output, nil
135+
return functionNames, nil
136136
}
137137

138138
// IsEmpty return true if the SafeTrie is empty

0 commit comments

Comments
 (0)