Skip to content

Commit

Permalink
fix: service-prometheus err, issue #644
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperJim committed Nov 24, 2020
1 parent d229257 commit 858169d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func (prom *PrometheusController) handleDiscoveryEvent(dInfo discovery.Discovery
blog.Infof("discovery %s write config file %s success", dInfo.Key, disc.GetPromSdConfigFile(dInfo.Key))
}

func (prom *PrometheusController) deletePrometheusConfigFile(dInfo discovery.Info) {
func (prom *PrometheusController) deletePrometheusConfigFile(dInfo discovery.DiscoveryInfo) {
disc, ok := prom.discoverys[dInfo.Module]
if !ok {
blog.Errorf("not found discovery %s", dInfo.Module)
Expand Down

0 comments on commit 858169d

Please sign in to comment.