chore(deps): update github actions (master) (#2394)

Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
renovate[bot]
2026-05-14 08:20:30 +02:00
committed by GitHub
parent 5cdb4cd2f5
commit 3df84dc09b
15 changed files with 24 additions and 32 deletions

View File

@@ -309,7 +309,7 @@ func (c *Collector) collectWorkerRaw() {
}
dv := reflect.ValueOf(data)
if dv.Kind() != reflect.Ptr || dv.IsNil() {
if dv.Kind() != reflect.Pointer || dv.IsNil() {
return fmt.Errorf("expected a pointer, got %s: %w", dv.Kind(), mi.ErrInvalidEntityType)
}
@@ -476,7 +476,7 @@ func (c *Collector) collectWorkerFormatted() {
}
dv := reflect.ValueOf(data)
if dv.Kind() != reflect.Ptr || dv.IsNil() {
if dv.Kind() != reflect.Pointer || dv.IsNil() {
return fmt.Errorf("expected a pointer, got %s: %w", dv.Kind(), mi.ErrInvalidEntityType)
}

View File

@@ -103,7 +103,7 @@ func (c *Collector) Describe() map[string]string {
func (c *Collector) Collect(data any) error {
dv := reflect.ValueOf(data)
if dv.Kind() != reflect.Ptr || dv.IsNil() {
if dv.Kind() != reflect.Pointer || dv.IsNil() {
return mi.ErrInvalidEntityType
}