summaryrefslogtreecommitdiffstats
path: root/config-provisioning/src/main/java/com
diff options
context:
space:
mode:
authorValerij Fredriksen <valerijf@yahooinc.com>2023-08-07 12:39:21 +0200
committerValerij Fredriksen <valerijf@yahooinc.com>2023-08-07 12:39:21 +0200
commit82e68c87b6888f015b743f54e023be0ce6983fd6 (patch)
treeef59303f91df2ca365ae00ad457e5149acaea2c5 /config-provisioning/src/main/java/com
parentf751674a577001809bcf1566bece266e862acc83 (diff)
Require GCP cloud account explicitly prefixed with cloud name
Diffstat (limited to 'config-provisioning/src/main/java/com')
-rw-r--r--config-provisioning/src/main/java/com/yahoo/config/provision/CloudAccount.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/config-provisioning/src/main/java/com/yahoo/config/provision/CloudAccount.java b/config-provisioning/src/main/java/com/yahoo/config/provision/CloudAccount.java
index 91da7866603..9f6e9b37c0a 100644
--- a/config-provisioning/src/main/java/com/yahoo/config/provision/CloudAccount.java
+++ b/config-provisioning/src/main/java/com/yahoo/config/provision/CloudAccount.java
@@ -83,8 +83,6 @@ public class CloudAccount implements Comparable<CloudAccount> {
return empty;
if (META_BY_CLOUD.get("aws").matches(cloudAccount))
return new CloudAccount(cloudAccount, CloudName.AWS);
- if (META_BY_CLOUD.get("gcp").matches(cloudAccount)) // TODO (freva): Remove July 2023
- return new CloudAccount(cloudAccount, CloudName.GCP);
throw illegal(cloudAccount, "Must be on format '<cloud-name>:<account>' or 'default'");
}