Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceLiZhixin committed Oct 30, 2021
1 parent 9d80416 commit 5934f6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/application_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type ApplicationConfig struct {
Organization string `default:"dubbo-go" yaml:"organization" json:"organization,omitempty" property:"organization"`
Name string `default:"dubbo.io" yaml:"name" json:"name,omitempty" property:"name"`
Module string `default:"sample" yaml:"module" json:"module,omitempty" property:"module"`
Version string `default:"0.0.1" yaml:"version" json:"version,omitempty" property:"version"`
Version string `default:"3.0.0" yaml:"version" json:"version,omitempty" property:"version"`
Owner string `default:"dubbo-go" yaml:"owner" json:"owner,omitempty" property:"owner"`
Environment string `default:"dev" yaml:"environment" json:"environment,omitempty" property:"environment"`
// the metadata type. remote or local
Expand Down
4 changes: 1 addition & 3 deletions metrics/prometheus/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,8 @@ func newPrometheusReporter(reporterConfig *metrics.ReporterConfig) metrics.Repor
logger.Warnf("new prometheus reporter with error = %s", err)
}
}()
} else if reporterConfig.Mode == metrics.ReportModePush {
// todo pushgateway support

}
// todo pushgateway support
}
})
}
Expand Down

0 comments on commit 5934f6f

Please sign in to comment.