Skip to content
This repository was archived by the owner on Nov 18, 2020. It is now read-only.

Commit e41916e

Browse files
committed
remove magic string about protocol
1 parent bd0b0f0 commit e41916e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vault-operator/pkg/vault/deploy_vault.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,11 @@ func statsdExporterContainer() v1.Container {
270270
Ports: []v1.ContainerPort{{
271271
Name: "statsd",
272272
ContainerPort: exporterStatsdPort,
273-
Protocol: "UDP",
273+
Protocol: v1.ProtocolUDP,
274274
}, {
275275
Name: "prometheus",
276276
ContainerPort: exporterPromPort,
277-
Protocol: "TCP",
277+
Protocol: v1.ProtocolTCP,
278278
}},
279279
}
280280
}

0 commit comments

Comments
 (0)