Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuri-su committed May 6, 2020
1 parent eb8f7e1 commit e0611fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dm/config/source_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (c *SourceConfig) DecryptPassword() (*SourceConfig, error) {
err error
)
if len(clone.From.Password) > 0 {
pswdFrom, err = utils.DecryptOrPlaintext(clone.From.Password)
pswdFrom, err = utils.Decrypt(clone.From.Password)
if err != nil {
return nil, terror.WithClass(err, terror.ClassDMWorker)
}
Expand Down

0 comments on commit e0611fe

Please sign in to comment.