Skip to content

Commit

Permalink
Merge pull request petoju#15 from winebarrel/add_mysql_grant_importer
Browse files Browse the repository at this point in the history
Add tls_option
  • Loading branch information
winebarrel authored Mar 19, 2020
2 parents 71a7d9c + 2879fe8 commit 047ba34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mysql/resource_grant.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ func restoreGrant(user string, host string, database string, table string, privs
d.Set("host", host)
d.Set("database", database)
d.Set("table", table)
d.Set("tls_option", "NONE")

priv_list := strings.Split(privsStr, ",")
privileges := make([]string, len(priv_list))
Expand Down

0 comments on commit 047ba34

Please sign in to comment.