Skip to content

Commit e77a44c

Browse files
committed
linting
1 parent 15b683c commit e77a44c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/puppet/provider/mysql_user/mysql.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ def password_hash=(string)
173173

174174
sql = "ALTER USER #{merged_name} IDENTIFIED WITH"
175175
sql << if plugin == 'caching_sha2_password'
176-
" 'caching_sha2_password' AS X'#{string[2..-1]}'"
177-
else
178-
" 'mysql_native_password' AS '#{string}'"
179-
end
176+
" 'caching_sha2_password' AS X'#{string[2..-1]}'"
177+
else
178+
" 'mysql_native_password' AS '#{string}'"
179+
end
180180
self.class.mysql_caller(sql, 'system')
181181
else
182182
# default ... if mysqld_version does not work

0 commit comments

Comments
 (0)