Skip to content

Commit 246fe35

Browse files
committed
stragglers
1 parent f8936c3 commit 246fe35

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

agent/consul/enterprise_server_ce.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (s *Server) validateEnterpriseIntentionNamespace(ns string, _ bool) error {
8989
return nil
9090
}
9191

92-
// No special handling for wildcard namespaces as they are pointless in OSS.
92+
// No special handling for wildcard namespaces as they are pointless in CE.
9393

9494
return errors.New("Namespaces is a Consul Enterprise feature")
9595
}

test/integration/consul-container/libs/utils/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var (
2525
)
2626

2727
const (
28-
DefaultImageNameOSS = "hashicorp/consul"
28+
DefaultImageNameCE = "hashicorp/consul"
2929
DefaultImageNameENT = "hashicorp/consul-enterprise"
3030
ImageVersionSuffixENT = "-ent"
3131
)
@@ -65,7 +65,7 @@ func TargetImages() topology.Images {
6565
}
6666
} else {
6767
return topology.Images{
68-
ConsulOSS: img,
68+
ConsulCE: img,
6969
}
7070
}
7171
}

testing/deployer/topology/images.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
type Images struct {
1111
Consul string `json:",omitempty"`
12-
ConsulOSS string `json:",omitempty"`
12+
ConsulCE string `json:",omitempty"`
1313
ConsulEnterprise string `json:",omitempty"`
1414
Envoy string
1515
Dataplane string
@@ -85,19 +85,19 @@ func (i Images) ChooseConsul(enterprise bool) Images {
8585
if enterprise {
8686
i.Consul = i.ConsulEnterprise
8787
} else {
88-
i.Consul = i.ConsulOSS
88+
i.Consul = i.ConsulCE
8989
}
9090
i.ConsulEnterprise = ""
91-
i.ConsulOSS = ""
91+
i.ConsulCE = ""
9292
return i
9393
}
9494

9595
func (i Images) OverrideWith(i2 Images) Images {
9696
if i2.Consul != "" {
9797
i.Consul = i2.Consul
9898
}
99-
if i2.ConsulOSS != "" {
100-
i.ConsulOSS = i2.ConsulOSS
99+
if i2.ConsulCE != "" {
100+
i.ConsulCE = i2.ConsulCE
101101
}
102102
if i2.ConsulEnterprise != "" {
103103
i.ConsulEnterprise = i2.ConsulEnterprise
@@ -118,7 +118,7 @@ func (i Images) OverrideWith(i2 Images) Images {
118118
func DefaultImages() Images {
119119
return Images{
120120
Consul: "",
121-
ConsulOSS: DefaultConsulImage,
121+
ConsulCE: DefaultConsulImage,
122122
ConsulEnterprise: DefaultConsulEnterpriseImage,
123123
Envoy: DefaultEnvoyImage,
124124
Dataplane: DefaultDataplaneImage,

0 commit comments

Comments
 (0)