Skip to content

Commit 4dc2150

Browse files
authored
Fix (#110)
1 parent a397ee4 commit 4dc2150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/manifest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ func (s *service) WithTag(tag string) *service {
366366

367367
func (s *service) WithPort(name string, portNumber int, protocolVar ...string) *service {
368368
protocol := ProtocolTCP
369-
if len(protocol) > 0 {
369+
if len(protocolVar) > 0 {
370370
if protocolVar[0] != ProtocolTCP && protocolVar[0] != ProtocolUDP {
371371
panic(fmt.Sprintf("protocol %s not supported", protocolVar[0]))
372372
}

0 commit comments

Comments
 (0)