From 942801ff2ff7ed9ec5ed50048a82672240c09765 Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Tue, 5 Nov 2019 08:59:13 +0100 Subject: Remove component job type --- .../vespa/hosted/controller/api/integration/deployment/JobType.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'controller-api') diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/JobType.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/JobType.java index f301bc038a2..ec742698540 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/JobType.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/JobType.java @@ -20,9 +20,6 @@ import static com.yahoo.config.provision.SystemName.main; /** Job types that exist in the build system */ public enum JobType { // | enum name ------------| job name ------------------| Zone in main system ---------------------------------------| Zone in CD system ------------------------------------------- - component ("component", // TODO jonmv: remove when no longer present in serialized data - Map.of()), - systemTest ("system-test", Map.of(main , ZoneId.from("test", "us-east-1"), cd , ZoneId.from("test", "cd-us-central-1"), @@ -134,7 +131,6 @@ public enum JobType { /** Returns the environment of this job type, or null if it does not have an environment */ public Environment environment() { - if (this == component) return null; return zones.values().iterator().next().environment(); } -- cgit v1.2.3