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

Commit aed6c3b

Browse files
authored
Merge pull request #23 from andyxning/remove_magic_string
remove magic string about protocol
2 parents bd0b0f0 + e41916e commit aed6c3b

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)