From 246fe35a4e2ab86a3d6e9cfe6bb4fc1b94e0259e Mon Sep 17 00:00:00 2001 From: Semir Patel Date: Fri, 18 Aug 2023 12:23:24 -0500 Subject: [PATCH] stragglers --- agent/consul/enterprise_server_ce.go | 2 +- .../consul-container/libs/utils/version.go | 4 ++-- testing/deployer/topology/images.go | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/agent/consul/enterprise_server_ce.go b/agent/consul/enterprise_server_ce.go index 1b9431e89c28..d14cb7bac33c 100644 --- a/agent/consul/enterprise_server_ce.go +++ b/agent/consul/enterprise_server_ce.go @@ -89,7 +89,7 @@ func (s *Server) validateEnterpriseIntentionNamespace(ns string, _ bool) error { return nil } - // No special handling for wildcard namespaces as they are pointless in OSS. + // No special handling for wildcard namespaces as they are pointless in CE. return errors.New("Namespaces is a Consul Enterprise feature") } diff --git a/test/integration/consul-container/libs/utils/version.go b/test/integration/consul-container/libs/utils/version.go index c81f7e00e35d..24e66a869814 100644 --- a/test/integration/consul-container/libs/utils/version.go +++ b/test/integration/consul-container/libs/utils/version.go @@ -25,7 +25,7 @@ var ( ) const ( - DefaultImageNameOSS = "hashicorp/consul" + DefaultImageNameCE = "hashicorp/consul" DefaultImageNameENT = "hashicorp/consul-enterprise" ImageVersionSuffixENT = "-ent" ) @@ -65,7 +65,7 @@ func TargetImages() topology.Images { } } else { return topology.Images{ - ConsulOSS: img, + ConsulCE: img, } } } diff --git a/testing/deployer/topology/images.go b/testing/deployer/topology/images.go index ce265b397437..d58d7a1213de 100644 --- a/testing/deployer/topology/images.go +++ b/testing/deployer/topology/images.go @@ -9,7 +9,7 @@ import ( type Images struct { Consul string `json:",omitempty"` - ConsulOSS string `json:",omitempty"` + ConsulCE string `json:",omitempty"` ConsulEnterprise string `json:",omitempty"` Envoy string Dataplane string @@ -85,10 +85,10 @@ func (i Images) ChooseConsul(enterprise bool) Images { if enterprise { i.Consul = i.ConsulEnterprise } else { - i.Consul = i.ConsulOSS + i.Consul = i.ConsulCE } i.ConsulEnterprise = "" - i.ConsulOSS = "" + i.ConsulCE = "" return i } @@ -96,8 +96,8 @@ func (i Images) OverrideWith(i2 Images) Images { if i2.Consul != "" { i.Consul = i2.Consul } - if i2.ConsulOSS != "" { - i.ConsulOSS = i2.ConsulOSS + if i2.ConsulCE != "" { + i.ConsulCE = i2.ConsulCE } if i2.ConsulEnterprise != "" { i.ConsulEnterprise = i2.ConsulEnterprise @@ -118,7 +118,7 @@ func (i Images) OverrideWith(i2 Images) Images { func DefaultImages() Images { return Images{ Consul: "", - ConsulOSS: DefaultConsulImage, + ConsulCE: DefaultConsulImage, ConsulEnterprise: DefaultConsulEnterpriseImage, Envoy: DefaultEnvoyImage, Dataplane: DefaultDataplaneImage,