mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 21:24:05 -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
|
||||
}
|
||||
|
||||
if networkInterface.Properties == nil {
|
||||
continue
|
||||
}
|
||||
|
||||
// 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
|
||||
// yet support this. On deallocated machines, this value happens to be nil so it
|
||||
|
|
Loading…
Reference in a new issue