mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-05-18 05:59:51 +00:00
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:
@@ -195,7 +195,7 @@ func (o *Operation) Unmarshal(dst any) error {
|
||||
}
|
||||
|
||||
dv := reflect.ValueOf(dst)
|
||||
if dv.Kind() != reflect.Ptr || dv.IsNil() {
|
||||
if dv.Kind() != reflect.Pointer || dv.IsNil() {
|
||||
return ErrInvalidEntityType
|
||||
}
|
||||
|
||||
|
||||
@@ -202,7 +202,7 @@ func (s *Session) QueryUnmarshal(dst any,
|
||||
}
|
||||
|
||||
dv := reflect.ValueOf(dst)
|
||||
if dv.Kind() != reflect.Ptr || dv.IsNil() {
|
||||
if dv.Kind() != reflect.Pointer || dv.IsNil() {
|
||||
return ErrInvalidEntityType
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user