summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHeinrich Lee Yu <heinrich@gitlab.com>2019-07-17 11:51:22 +0800
committerHeinrich Lee Yu <heinrich@gitlab.com>2019-07-25 12:21:38 +0800
commit2b3d00a77822eaf2e622dd0b1baf85ebea2b1ee4 (patch)
tree4444788d3f059ea8fa970dadcc777a72a00bcb04 /scripts
parent046c85ed603f8fb581b1be71a5de5525e24a5fbb (diff)
downloadgitlab-ce-2b3d00a77822eaf2e622dd0b1baf85ebea2b1ee4.tar.gz
Changes all calls to data_source_exists? to table_exists? since that is the intent of these calls
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/insert-rspec-profiling-data4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/insert-rspec-profiling-data b/scripts/insert-rspec-profiling-data
index b34379764e0..88c9d8c12b1 100755
--- a/scripts/insert-rspec-profiling-data
+++ b/scripts/insert-rspec-profiling-data
@@ -14,10 +14,6 @@ module RspecProfiling
Result.establish_connection(results_url)
end
- def prepared?
- connection.data_source_exists?(table)
- end
-
def results_url
ENV['RSPEC_PROFILING_POSTGRES_URL']
end