Skip to content

Commit

Permalink
fixed ready? in server model, minor formatting change in servers
Browse files Browse the repository at this point in the history
  • Loading branch information
splaspood authored and geemus committed Feb 23, 2011
1 parent f24fdb0 commit 138ea7c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/fog/compute/models/voxel/server.rb
Expand Up @@ -36,7 +36,7 @@ def image
end

def ready?
@status == 'SUCCEEDED'
status == 'SUCCEEDED'
end

def save
Expand Down
1 change: 0 additions & 1 deletion lib/fog/compute/models/voxel/servers.rb
Expand Up @@ -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
Expand Down

0 comments on commit 138ea7c

Please sign in to comment.