Skip to content

Commit

Permalink
fix: spell correction of function name
Browse files Browse the repository at this point in the history
  • Loading branch information
thenodon committed Jun 4, 2023
1 parent 1d7cb6d commit eecad82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions aci-api.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func newAciAPI(ctx context.Context, fabricConfig Fabric, configQueries AllQuerie
configQueries: executeQueries.ClassQueries,
configCompoundQueries: executeQueries.CompoundClassQueries,
configGroupQueries: executeQueries.GroupClassQueries,
confgBuiltInQueries: BuilitinQueries{},
confgBuiltInQueries: BuiltinQueries{},
}

// Make sure all built in queries are handled
Expand All @@ -97,7 +97,7 @@ type aciAPI struct {
configQueries ClassQueries
configCompoundQueries CompoundClassQueries
configGroupQueries GroupClassQueries
confgBuiltInQueries BuilitinQueries
confgBuiltInQueries BuiltinQueries
}

// CollectMetrics Gather all aci metrics and return name of the aci fabric, slice of metrics and status of
Expand Down
4 changes: 2 additions & 2 deletions configclassqueries.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ type ClassQueries map[string]*ClassQuery
type CompoundClassQueries map[string]*CompoundClassQuery
type GroupClassQueries map[string]*GroupClassQuery

// Builtin queries named and point to a function to execute
type BuilitinQueries map[string]func(chan []MetricDefinition)
// BuiltinQueries BuiltinQueries queries named and point to a function to execute
type BuiltinQueries map[string]func(chan []MetricDefinition)

type AllQueries struct {
ClassQueries ClassQueries
Expand Down

0 comments on commit eecad82

Please sign in to comment.