diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2019-11-05 08:59:13 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2019-11-05 10:26:07 +0100 |
commit | 942801ff2ff7ed9ec5ed50048a82672240c09765 (patch) | |
tree | f8069fd5c86836afbcbc7fb6b531280fda6a4d3d /controller-api | |
parent | e51d00734e119a92bed319a03a66e449062e88d0 (diff) |
Remove component job type
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/JobType.java | 4 |
1 files changed, 0 insertions, 4 deletions
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(); } |