Skip to content

Commit

Permalink
should extend with deprecation, not include
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed Feb 23, 2011
1 parent 9a40a17 commit 6f7dd6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/fog/compute/models/aws/server.rb
Expand Up @@ -5,7 +5,7 @@ module AWS
class Compute

class Server < Fog::Model
include Fog::Deprecation
extend Fog::Deprecation
deprecate :ip_address, :public_ip_address

identity :id, :aliases => 'instanceId'
Expand Down
2 changes: 1 addition & 1 deletion lib/fog/compute/models/go_grid/server.rb
Expand Up @@ -7,7 +7,7 @@ class Compute
class BlockInstantiationError < StandardError; end

class Server < Fog::Model
include Fog::Deprecation
extend Fog::Deprecation
deprecate(:ip, :public_ip_address)

identity :id
Expand Down

0 comments on commit 6f7dd6d

Please sign in to comment.