mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Add ip_address method back, but deprecate it.
This commit is contained in:
parent
cc483e1bba
commit
dbdf1e1f24
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue