Skip to content

Commit aeddd4f

Browse files
committed
adjust cascade delete comment
1 parent d2f8436 commit aeddd4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/superset/dashboard/bulk_delete_cascade.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# WARNING: DESTRUCTIVE OPERATION .. use with caution
44
# This class is used to delete multiple dashboards and all related charts and datasets.
5+
# There are NO CHECKS currently to confirm if a dataset is used on other dashboards.
56

67
module Superset
78
module Dashboard
@@ -11,7 +12,7 @@ class InvalidParameterError < StandardError; end
1112
attr_reader :dashboard_ids
1213

1314
def initialize(dashboard_ids: [])
14-
@dashboard_ids = dashboard_ids # delete sequentially
15+
@dashboard_ids = dashboard_ids
1516
end
1617

1718
def perform

0 commit comments

Comments
 (0)