diff --git a/lib/fog/digitalocean/models/compute/server.rb b/lib/fog/digitalocean/models/compute/server.rb index 1db59347a..534ee1ea0 100644 --- a/lib/fog/digitalocean/models/compute/server.rb +++ b/lib/fog/digitalocean/models/compute/server.rb @@ -21,6 +21,12 @@ module Fog attr_writer :ssh_keys + # Deprecated: Use public_ip_address instead. + def ip_address + Fog::Logger.warning("ip_address has been deprecated. Use public_ip_address instead") + public_ip_address + end + # Reboot the server (soft reboot). # # The preferred method of rebooting a server.