Skip to content
Browse files

fixed ready? in server model, minor formatting change in servers

  • Loading branch information...
1 parent f24fdb0 commit 138ea7cd94f3f6569509c785c80732f720c23d14 @splaspood splaspood committed with geemus Feb 11, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −1 lib/fog/compute/models/voxel/server.rb
  2. +0 −1 lib/fog/compute/models/voxel/servers.rb
View
2 lib/fog/compute/models/voxel/server.rb
@@ -36,7 +36,7 @@ def image
end
def ready?
- @status == 'SUCCEEDED'
+ status == 'SUCCEEDED'
end
def save
View
1 lib/fog/compute/models/voxel/servers.rb
@@ -33,7 +33,6 @@ def get(device_id)
else
status = connection.voxcloud_status(device_id)
server.first[:status] = status.first[:status]
-
new(server.first)
end
end

0 comments on commit 138ea7c

Please sign in to comment.
Something went wrong with that request. Please try again.