-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(collector): fix lint and build errors for go collector (#1762)
#1761 Fix lint and build errors for go collector, including: - upgrade go version to 1.17 to fix undefined time.Now().UnixMilli - fix format error ("File is not `gofmt`-ed with `-s` (gofmt)") of go source files by `gofmt -s -w - fix format string error ("Sprintf/Errorf format %s has arg addr of wrong type int (govet)") by a skipped index for `range`
- Loading branch information
Showing
3 changed files
with
30 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters