fixed password assignment

This commit is contained in:
Shlomi Noach 2016-05-03 11:56:53 +03:00
parent 86fd2b617a
commit 627e412b6b

View File

@ -252,7 +252,7 @@ func (this *MigrationContext) ReadConfigFile() error {
this.InspectorConnectionConfig.User = conf.Client.User this.InspectorConnectionConfig.User = conf.Client.User
} }
if this.InspectorConnectionConfig.Password == "" { if this.InspectorConnectionConfig.Password == "" {
this.InspectorConnectionConfig.User = conf.Client.Password this.InspectorConnectionConfig.Password = conf.Client.Password
} }
return nil return nil