class Fog::Scaleway::Compute::Server

We're monkeypatching here to avoid overriding too much of the base class. This monkey patch will be removed if we can merge those changes upstream

Public Instance Methods

disassociate_address(ip) click to toggle source
# File lib/chef/provisioning/fog_driver/providers/scaleway.rb, line 15
def disassociate_address(ip)
  ip = ip.address if ip.respond_to? :address
  if public_ip && public_ip.address == ip
    public_ip.server = nil
    public_ip.save
  end
  reload
end