Add warning about config changes.

This commit is contained in:
Fabian Reinartz 2015-05-05 14:04:41 +02:00
parent b5a8f7b8fa
commit 8f75ff0513
1 changed files with 2 additions and 1 deletions

View File

@ -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)
}