diff --git a/src/main/java/io/codeka/gaia/controller/StackController.java b/src/main/java/io/codeka/gaia/controller/StackController.java index 3619400e6..62d34a08f 100644 --- a/src/main/java/io/codeka/gaia/controller/StackController.java +++ b/src/main/java/io/codeka/gaia/controller/StackController.java @@ -26,16 +26,13 @@ public class StackController { private TerraformModuleRepository terraformModuleRepository; - private Settings settings; - private JobRepository jobRepository; @Autowired - public StackController(StackRepository stackRepository, StackRunner stackRunner, TerraformModuleRepository terraformModuleRepository, Settings settings, JobRepository jobRepository) { + public StackController(StackRepository stackRepository, StackRunner stackRunner, TerraformModuleRepository terraformModuleRepository, JobRepository jobRepository) { this.stackRepository = stackRepository; this.stackRunner = stackRunner; this.terraformModuleRepository = terraformModuleRepository; - this.settings = settings; this.jobRepository = jobRepository; } @@ -56,7 +53,6 @@ public String editStack(@PathVariable String stackId, Model model){ // TODO throw an exception (404) if not if(stackRepository.existsById(stackId)){ model.addAttribute("stackId", stackId); - model.addAttribute("settings", settings); } return "stack"; } diff --git a/src/main/resources/templates/stack.html b/src/main/resources/templates/stack.html index d1701cc5a..3e9df8423 100644 --- a/src/main/resources/templates/stack.html +++ b/src/main/resources/templates/stack.html @@ -33,9 +33,6 @@ - - - @@ -168,14 +165,9 @@

Job history

-