Skip to content

Commit

Permalink
using api constraint for test deployment options
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Aug 8, 2023
1 parent 2e4556a commit a5cdfc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/framework/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func WithDeploymentNamespace(n string) func(*deploymentOptions) {
func WithSvcTopologyAnnotations() func(*deploymentOptions) {
return func(o *deploymentOptions) {
o.svcAnnotations = map[string]string{
"service.kubernetes.io/topology-mode": "auto",
corev1.AnnotationTopologyMode: "auto",
}
}
}
Expand Down Expand Up @@ -213,7 +213,7 @@ func (f *Framework) NewHttpbunDeployment(opts ...func(*deploymentOptions)) strin
80,
int32(options.replicas),
nil, nil,
//Required to get hostname information
// Required to get hostname information
[]corev1.EnvVar{
{
Name: "HTTPBUN_INFO_ENABLED",
Expand Down

0 comments on commit a5cdfc0

Please sign in to comment.