mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Merge pull request #669 from prometheus/fabxc/sd_warn
Add warning about config changes.
This commit is contained in:
commit
e020b91603
3
main.go
3
main.go
|
@ -92,7 +92,8 @@ type prometheus struct {
|
|||
func NewPrometheus() *prometheus {
|
||||
conf, err := config.LoadFromFile(*configFile)
|
||||
if err != nil {
|
||||
glog.Errorf("Couldn't load configuration (-config.file=%s): %v\n", *configFile, err)
|
||||
glog.Errorf("Couldn't load configuration (-config.file=%s): %v", *configFile, err)
|
||||
glog.Errorf("Note: The configuration format has changed with version 0.14, please check the documentation.")
|
||||
os.Exit(2)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue