mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
Add warning about config changes.
This commit is contained in:
parent
b5a8f7b8fa
commit
8f75ff0513
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 New Issue
Block a user