mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 14:27:27 -08:00
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
This commit is contained in:
parent
ed19373a78
commit
1fd3b33dcd
|
@ -315,6 +315,10 @@ func (d *Discovery) refresh() (tg *targetgroup.Group, err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if networkInterface.Properties == nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
// Unfortunately Azure does not return information on whether a VM is deallocated.
|
// Unfortunately Azure does not return information on whether a VM is deallocated.
|
||||||
// This information is available via another API call however the Go SDK does not
|
// This information is available via another API call however the Go SDK does not
|
||||||
// yet support this. On deallocated machines, this value happens to be nil so it
|
// yet support this. On deallocated machines, this value happens to be nil so it
|
||||||
|
|
Loading…
Reference in a new issue