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:
parent
3d3c04db38
commit
0383957172
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue