1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-01 23:16:22 +00:00

vendor types

This commit is contained in:
Sebastiaan van Steenis
2020-03-03 18:08:30 +01:00
parent 265553beb5
commit 8355b2ad68
26 changed files with 521 additions and 47 deletions

View File

@@ -113,7 +113,7 @@ func SplitProtoPort(rawPort string) (string, string) {
}
func validateProto(proto string) bool {
for _, availableProto := range []string{"tcp", "udp"} {
for _, availableProto := range []string{"tcp", "udp", "sctp"} {
if availableProto == proto {
return true
}