Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

AllCheck only runs PlanCheck if --plan specified #33

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/heroku/kensa/check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,10 @@ def call!
screen.message "End of #{args.first}\n"
end

data[:plan] ||= 'foo'
run PlanChangeCheck, data
# Only run the plan change if a plan is specified.
if data[:plan]
run PlanChangeCheck, data
end
run DeprovisionCheck, data
end

Expand Down