Skip to content

Commit

Permalink
Merge pull request #17462 from Ladas/do_not_delete_snapshot_children_…
Browse files Browse the repository at this point in the history
…with_parent

Do not delete children snapshots as part of parent
(cherry picked from commit 2903440)

https://bugzilla.redhat.com/show_bug.cgi?id=1581287
  • Loading branch information
agrare authored and simaishi committed May 22, 2018
1 parent b89536b commit cdde57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/snapshot.rb
@@ -1,7 +1,7 @@
require 'time'

class Snapshot < ApplicationRecord
acts_as_tree
acts_as_tree :dependent => :nullify

belongs_to :vm_or_template

Expand Down

0 comments on commit cdde57e

Please sign in to comment.