add comment for details

This commit is contained in:
Anton Chuchkalov 2015-08-28 14:55:33 +03:00
parent 4a44f6baa0
commit 6c7a700861

View File

@ -72,6 +72,11 @@ module Devops
provider_instance.stack_resource(self, resource_id)
end
# there is only one way to update stack status right now:
# stack.sync_details!
# mongo.stack_update(stack)
# It's because syncing updates @details instance variable, but doesn'not persist it.
# Also that's why we need to have "details" key in #to_mongo_hash
def stack_status
raise 'override me'
end