diff options
author | Christopher Baines <mail@cbaines.net> | 2018-03-26 21:02:05 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-04-03 21:57:39 +0100 |
commit | 0867e8beef3f964cfd42d4e86c0ddf468bc980c5 (patch) | |
tree | dd018144e0b476d38c745aad06981188fbe75e9f /app/models/backends | |
parent | a210b2363f962de59c2b9287bf675fafe386adc7 (diff) | |
download | govuk-mini-environment-admin-0867e8beef3f964cfd42d4e86c0ddf468bc980c5.tar govuk-mini-environment-admin-0867e8beef3f964cfd42d4e86c0ddf468bc980c5.tar.gz |
Remove a redundant method
This is only used in the AWS backend.
Diffstat (limited to 'app/models/backends')
-rw-r--r-- | app/models/backends/terraform_libvirt.rb | 6 |
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 |