mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-12 16:10:03 +01:00
Add gometalinter (#36)
This commit is contained in:
parent
cacf5de3ec
commit
ee3162c34c
6 changed files with 32 additions and 15 deletions
|
|
@ -105,7 +105,7 @@ func mysqldumpArgs(u *url.URL) []string {
|
|||
if username := u.User.Username(); username != "" {
|
||||
args = append(args, "--user="+username)
|
||||
}
|
||||
// mysql recommands against using environment variables to supply password
|
||||
// mysql recommends against using environment variables to supply password
|
||||
// https://dev.mysql.com/doc/refman/5.7/en/password-security-user.html
|
||||
if password, set := u.User.Password(); set {
|
||||
args = append(args, "--password="+password)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue