1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

adds deprecation on vnc_port

This commit is contained in:
Ohad Levy 2012-04-09 12:05:22 +03:00 committed by Ohad Levy
parent 3d3c04db38
commit 0383957172

View file

@ -228,6 +228,12 @@ module Fog
reload
end
# can't use deprecate method, as the value is part of the display hash
def vnc_port
Fog::Logger.deprecation("#{self.class} => #vnc_port is deprecated, use #display[:port] instead [light_black](#{caller.first})[/]")
display[:port]
end
private
attr_accessor :volumes_path