Compare commits

..

3 Commits

Author SHA1 Message Date
Manas 8674832d58
Merge 7a774d04ea into 6a9004890f 2024-11-20 03:34:13 +03:00
Kemal Akkoyun 6a9004890f
Add codeowners (#1688)
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2024-11-19 18:14:03 +01:00
Kemal Akkoyun 7d0a0fbb72
fix: replace fmt.Errorf with errors.New (#1689)
```shell
prometheus/process_collector_darwin.go:28:25: fmt.Errorf can be replaced with errors.New (perfsprint)
var notImplementedErr = fmt.Errorf("not implemented")
```

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
2024-11-19 18:13:52 +01:00
2 changed files with 2 additions and 1 deletions

1
.github/CODEOWNERS vendored Normal file
View File

@ -0,0 +1 @@
* @ArthurSens @bwplotka @kakkoyun @vesari

View File

@ -25,7 +25,7 @@ import (
// notImplementedErr is returned by stub functions that replace cgo functions, when cgo
// isn't available.
var notImplementedErr = fmt.Errorf("not implemented")
var notImplementedErr = errors.New("not implemented")
type memoryInfo struct {
vsize uint64 // Virtual memory size in bytes