Skip to content

Commit

Permalink
Merge pull request #269 from kmanning/issue_88
Browse files Browse the repository at this point in the history
Issue #88: Clean up dead code
  • Loading branch information
kmanning authored Jul 31, 2020
2 parents 905fd8d + f16a8cd commit b5812fe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/ParameterStoreBuildWrapperPlugin.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import static TerraformEnvironmentStage.PLAN
import static TerraformEnvironmentStage.APPLY
import static TerraformEnvironmentStage.DESTROY

class ParameterStoreBuildWrapperPlugin implements TerraformEnvironmentStagePlugin {
private static globalPathPattern
Expand All @@ -27,7 +26,6 @@ class ParameterStoreBuildWrapperPlugin implements TerraformEnvironmentStagePlugi

stage.decorate(PLAN, addParameterStoreBuildWrapper(options))
stage.decorate(APPLY, addParameterStoreBuildWrapper(options))
stage.decorate(DESTROY, addParameterStoreBuildWrapper(options))
}

String pathForEnvironment(String environment) {
Expand Down
2 changes: 0 additions & 2 deletions src/ParameterStoreExecPlugin.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import static TerraformEnvironmentStage.PLAN
import static TerraformEnvironmentStage.APPLY
import static TerraformEnvironmentStage.DESTROY

class ParameterStoreExecPlugin implements TerraformEnvironmentStagePlugin, TerraformPlanCommandPlugin, TerraformApplyCommandPlugin {
public static void init() {
Expand All @@ -18,7 +17,6 @@ class ParameterStoreExecPlugin implements TerraformEnvironmentStagePlugin, Terra

stage.decorate(PLAN, addEnvVariables(parameterStorePath))
stage.decorate(APPLY, addEnvVariables(parameterStorePath))
stage.decorate(DESTROY, addEnvVariables(parameterStorePath))
}

public String pathForEnvironment(String environment) {
Expand Down
1 change: 0 additions & 1 deletion src/TerraformEnvironmentStage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class TerraformEnvironmentStage implements Stage {
public static final String PLAN = 'plan'
public static final String CONFIRM = 'confirm'
public static final String APPLY = 'apply'
public static final String DESTROY = 'destroy'

TerraformEnvironmentStage(String environment) {
this.environment = environment
Expand Down

0 comments on commit b5812fe

Please sign in to comment.