Skip to content

Commit

Permalink
Oops 'i' floating
Browse files Browse the repository at this point in the history
  • Loading branch information
Varjitt Jeeva committed Sep 25, 2017
1 parent 18d7691 commit 4509d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/engines/postgresql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def load_backup(path)
if @file_type.contains("sql")
run_command("psql --no-password --set ON_ERROR_STOP=on --username=#{@username} --host=#{container_ip_address} --port=#{@port} --dbname=#{@database} < #{@sql_file}")
elsif @file_type.contains("dump")
run_command("pg_restore --no-password --set ON_ERROR_STOP=on --username=#{@username} --host=#{container_ip_address} --port=#{@port} --dbname=#{@database} < #{@sql_file}")i
run_command("pg_restore --no-password --set ON_ERROR_STOP=on --username=#{@username} --host=#{container_ip_address} --port=#{@port} --dbname=#{@database} < #{@sql_file}")
else
raise 'File Type parameter in Postgresql Driver is invalid.'
end
Expand Down

0 comments on commit 4509d71

Please sign in to comment.