mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
chore: fix function name in comment (#6608)
Signed-off-by: kindknow <iturf@sina.com>
This commit is contained in:
@@ -308,7 +308,7 @@ func importtype(s string) string {
|
|||||||
return "std"
|
return "std"
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestMetricNaming tests the imports path used for metrics. It depends on faillint to be installed: go install github.com/fatih/faillint
|
// TestPrometheusImports tests the imports path used for metrics. It depends on faillint to be installed: go install github.com/fatih/faillint
|
||||||
func TestPrometheusImports(t *testing.T) {
|
func TestPrometheusImports(t *testing.T) {
|
||||||
if _, err := exec.LookPath("faillint"); err != nil {
|
if _, err := exec.LookPath("faillint"); err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Not executing TestPrometheusImports: faillint not found\n")
|
fmt.Fprintf(os.Stderr, "Not executing TestPrometheusImports: faillint not found\n")
|
||||||
|
|||||||
Reference in New Issue
Block a user