aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-03-26 21:02:05 +0100
committerChristopher Baines <mail@cbaines.net>2018-04-03 21:57:39 +0100
commit0867e8beef3f964cfd42d4e86c0ddf468bc980c5 (patch)
treedd018144e0b476d38c745aad06981188fbe75e9f
parenta210b2363f962de59c2b9287bf675fafe386adc7 (diff)
downloadgovuk-mini-environment-admin-0867e8beef3f964cfd42d4e86c0ddf468bc980c5.tar
govuk-mini-environment-admin-0867e8beef3f964cfd42d4e86c0ddf468bc980c5.tar.gz
Remove a redundant method
This is only used in the AWS backend.
-rw-r--r--app/models/backends/terraform_libvirt.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/backends/terraform_libvirt.rb b/app/models/backends/terraform_libvirt.rb
index e7c24d7..3e5c138 100644
--- a/app/models/backends/terraform_libvirt.rb
+++ b/app/models/backends/terraform_libvirt.rb
@@ -68,10 +68,4 @@ class Backends::TerraformLibvirt < ApplicationRecord
machine_name: mini_environment.name.parameterize
)
end
-
- def ssh_public_key
- File.open("#{ENV['HOME']}/.ssh/id_rsa.pub") do |file|
- file.readline()
- end
- end
end