Print message when creating the config file (#3089)

This commit is contained in:
Anis Elleuch
2016-10-27 02:44:22 +01:00
committed by Harshavardhana
parent f7c20b97a1
commit a15dc5fed5
7 changed files with 21 additions and 18 deletions

View File

@@ -53,7 +53,7 @@ func TestServerConfigMigrateV1(t *testing.T) {
}
// Initialize server config and check again if everything is fine
if err := initConfig(); err != nil {
if _, err := initConfig(); err != nil {
t.Fatalf("Unable to initialize from updated config file %s", err)
}
}
@@ -134,7 +134,7 @@ func TestServerConfigMigrateV2toV9(t *testing.T) {
}
// Initialize server config and check again if everything is fine
if err := initConfig(); err != nil {
if _, err := initConfig(); err != nil {
t.Fatalf("Unable to initialize from updated config file %s", err)
}
@@ -153,7 +153,7 @@ func TestServerConfigMigrateV2toV9(t *testing.T) {
}
// Initialize server config and check again if everything is fine
if err := initConfig(); err != nil {
if _, err := initConfig(); err != nil {
t.Fatalf("Unable to initialize from updated config file %s", err)
}
}