mirror of
https://github.com/Telecominfraproject/wlan-cloud-kube-state-metrics.git
synced 2025-11-01 02:57:50 +00:00
Typo fix
This commit is contained in:
@@ -68,12 +68,12 @@ func customStore(metricFamilies []generator.FamilyGenerator,
|
|||||||
useAPIServerCache bool,
|
useAPIServerCache bool,
|
||||||
) []cache.Store {
|
) []cache.Store {
|
||||||
stores := make([]cache.Store, 0, 2)
|
stores := make([]cache.Store, 0, 2)
|
||||||
stores = append(stores, newDummyStor(dummyMetricList0))
|
stores = append(stores, newDummyStore(dummyMetricList0))
|
||||||
stores = append(stores, newDummyStor(dummyMetricList1))
|
stores = append(stores, newDummyStore(dummyMetricList1))
|
||||||
return stores
|
return stores
|
||||||
}
|
}
|
||||||
|
|
||||||
func newDummyStor(metrics []string) *dummyStore {
|
func newDummyStore(metrics []string) *dummyStore {
|
||||||
return &dummyStore{
|
return &dummyStore{
|
||||||
metrics: metrics,
|
metrics: metrics,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user