diff --git a/lib/fog/xenserver/models/compute/network.rb b/lib/fog/xenserver/models/compute/network.rb index a0a63f05f..da4161800 100644 --- a/lib/fog/xenserver/models/compute/network.rb +++ b/lib/fog/xenserver/models/compute/network.rb @@ -24,6 +24,9 @@ module Fog attribute :blobs def refresh + Fog::Logger.deprecation( + 'This method is deprecated. Use #reload instead.' + ) data = service.get_record( reference, 'network' ) merge_attributes( data ) true diff --git a/lib/fog/xenserver/models/compute/server.rb b/lib/fog/xenserver/models/compute/server.rb index 31e633786..ab0238cd8 100644 --- a/lib/fog/xenserver/models/compute/server.rb +++ b/lib/fog/xenserver/models/compute/server.rb @@ -124,6 +124,9 @@ module Fog end def refresh + Fog::Logger.deprecation( + 'This method is deprecated. Use #reload instead.' + ) data = service.get_record( reference, 'VM' ) merge_attributes( data ) true