lib/models/volume.rb in crop-duster-0.0.9 vs lib/models/volume.rb in crop-duster-0.0.10
- old
+ new
@@ -16,10 +16,11 @@
volume_type: aws_volume.type,
iops: aws_volume.iops,
size: aws_volume.size,
server: Server.where(remote_id: aws_volume.server_id).first,
availability_zone: AvailabilityZone.find_or_create_by(name: aws_volume.availability_zone),
- created_at: aws_volume.created_at
+ created_at: aws_volume.created_at,
+ deleted_at: null
}
volume.save!
aws_volume.tags.each do |key, value|