Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
qorus
prometheus
Commits
d9f4a8c9
Commit
d9f4a8c9
authored
Jan 14, 2019
by
Sylvain Rabot
Committed by
Brian Brazil
Jan 14, 2019
Browse files
sd: Fix stuck Azure service discovery (#5088)
Signed-off-by:
Sylvain Rabot
<
s.rabot@lectra.com
>
parent
d7225ac4
Changes
1
Hide whitespace changes
Inline
Side-by-side
discovery/azure/azure.go
View file @
d9f4a8c9
...
...
@@ -362,6 +362,10 @@ func (d *Discovery) refresh() (tg *targetgroup.Group, err error) {
}
}
}
// If we get here we haven't sent anything to the channel.
// We need to send it something to release it.
ch
<-
target
{}
}(
i
,
vm
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment