From c1324e88126c43db5adca60cbb838df5e8f73801 Mon Sep 17 00:00:00 2001 From: Matthew King Date: Tue, 24 Apr 2012 14:27:55 -0700 Subject: [PATCH] AllCheck only runs PlanCheck if --plan specified --- lib/heroku/kensa/check.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/heroku/kensa/check.rb b/lib/heroku/kensa/check.rb index ccfee4d..60a7f03 100644 --- a/lib/heroku/kensa/check.rb +++ b/lib/heroku/kensa/check.rb @@ -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