mirror of
https://github.com/puppetlabs/vmpooler-provider-gce.git
synced 2026-01-26 03:18:41 -05:00
fix rubocop offences and spec tests
This commit is contained in:
parent
79516d8014
commit
2a39a8cf06
2 changed files with 5 additions and 1 deletions
|
|
@ -5,9 +5,10 @@ require 'google/cloud/dns'
|
|||
|
||||
module Vmpooler
|
||||
class PoolManager
|
||||
# This class interacts with GCP Cloud DNS to create or delete records.
|
||||
class CloudDns
|
||||
def initialize(project, dns_zone_resource_name)
|
||||
@dns ||= Google::Cloud::Dns.new(project_id: project)
|
||||
@dns = Google::Cloud::Dns.new(project_id: project)
|
||||
@dns_zone_resource_name = dns_zone_resource_name
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue