-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: rename
updates
collector to update
Signed-off-by: Jan-Otto Kröpke <[email protected]>
- Loading branch information
Showing
5 changed files
with
12 additions
and
12 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
6 changes: 3 additions & 3 deletions
6
internal/collector/updates/updates_test.go → internal/collector/update/update_test.go
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package updates_test | ||
package update_test | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/prometheus-community/windows_exporter/internal/collector/updates" | ||
"github.com/prometheus-community/windows_exporter/internal/collector/update" | ||
"github.com/prometheus-community/windows_exporter/internal/testutils" | ||
) | ||
|
||
func BenchmarkCollector(b *testing.B) { | ||
testutils.FuncBenchmarkCollector(b, "printer", updates.NewWithFlags) | ||
testutils.FuncBenchmarkCollector(b, "printer", update.NewWithFlags) | ||
} |
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