Merge pull request #999 from prometheus/fabxc/spinfix

Only exit static target provider on done
pull/1000/head
Fabian Reinartz 2015-08-18 12:01:53 +02:00
commit 205d391409
1 changed files with 1 additions and 0 deletions

View File

@ -545,6 +545,7 @@ func (sd *StaticProvider) Run(ch chan<- *config.TargetGroup, done <-chan struct{
case ch <- tg:
}
}
<-done
}
// TargetGroups returns the provider's target groups.