Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Jun 5, 2024
1 parent 6c93cb2 commit 871bede
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ func (service *Service) GetMaybePublicPorts() map[string]*port_spec.PortSpec {
}

func IsServiceNameValid(serviceName ServiceName) bool {
return serviceNameRegex.MatchString(string(serviceName))
return ServiceNameRegex.MatchString(string(serviceName))
}

func IsPortNameValid(portName string) bool {
return portNameRegex.MatchString(portName)
return PortNameRegex.MatchString(portName)
}

0 comments on commit 871bede

Please sign in to comment.