mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Standardize the :state
alias to :status
It seems that every other plugin expect `:state` for instance, https://github.com/fog/fog/blob/master/lib/fog/openstack/models/compute/server.rb#L34. DO needs to have the alias of `:state` to `:status` to help some down stream usage. Consistancy is the key to happiness :)
This commit is contained in:
parent
cfeb2ef9e9
commit
72dba00346
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module Fog
|
|||
attribute :disk
|
||||
attribute :locked
|
||||
attribute :created_at
|
||||
attribute :status
|
||||
attribute :status, :aliases => 'state'
|
||||
attribute :backup_ids
|
||||
attribute :snapshot_ids
|
||||
attribute :features
|
||||
|
|
Loading…
Reference in a new issue