prometheus / procfs

procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
Apache License 2.0
769 stars 319 forks source link

Update crypto.go, fix incorrect spelling #591

Closed linuxgcc closed 10 months ago

linuxgcc commented 10 months ago

fix incorrect spelling

linuxgcc commented 10 months ago

@conallob

conallob commented 10 months ago

Thanks for the fix.

The question is though, why didn't the linter catch this? https://github.com/prometheus/procfs/pull/526/checks all passed cleanly. Is there an issue with golangci-lint?

linuxgcc commented 10 months ago

@conallob
I have checked golangci-lint output , there are no errors except typecheck errors. as link: https://github.com/golangci/golangci-lint/issues/2912 description, we don't need to pay attention to the typecheck . linter report that is not a bug

linuxgcc commented 10 months ago

@conallob I have checked golangci-lint output , there are no errors except typecheck errors. as link: golangci/golangci-lint#2912 description, we don't need to pay attention to the typecheck . linter report that is not a bug

sorry ,this is the situation of the alertmanager project